java-language-server icon indicating copy to clipboard operation
java-language-server copied to clipboard

Improve variables view

Open nya3jp opened this issue 1 year ago • 0 comments

We used to have two scopes of variables, "locals" and "arguments". However, VM somehow returns incorrect results for LocalVariable#isArgument(), so we presented confusing views to users. Since it's not very important to distinguish arguments and local variables, we now include them in the same "locals" scope.

Instead, we introduce the new "fields" scope containing fields of the current object (aka "this").

And finally, we now support inspecting the hierarchy of objects.

nya3jp avatar Jan 27 '25 13:01 nya3jp