Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbols view should nest elements by their surrounding scope #1431

Open
odrotbohm opened this issue Dec 6, 2024 · 1 comment
Open

Symbols view should nest elements by their surrounding scope #1431

odrotbohm opened this issue Dec 6, 2024 · 1 comment
Assignees
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: spring index & symbols theme: structural view type: enhancement

Comments

@odrotbohm
Copy link
Member

For a Spring MVC controller class like this:

@Controller
class MyController {

  @GetMapping("/path")
  void foo(@RequestParam String bar) {

  }
}

the Spring Symbols view creates multiple top-level entries:

It would be nice if the elements were nested inside each other. The parameter annotation as a nested node underneath the method, that in turn underneath the bean etc. Otherwise (and currently) you might end up with a gazillion of @RequestParam list entries that – without that contextual information – are not really helpful on their own.

@martinlippert martinlippert added theme: spring index & symbols for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode and removed status: waiting-for-triage labels Dec 6, 2024
@martinlippert martinlippert added this to the Backlog milestone Dec 6, 2024
@martinlippert martinlippert self-assigned this Dec 6, 2024
martinlippert added a commit that referenced this issue Jan 15, 2025
…ndex child nodes

some additional groundwork for nested structure inside of spring index, in support of GH-1425, GH-1431, GH-1424
@martinlippert
Copy link
Member

There is bit of groundwork necessary to fully materialize this on the UI side, but the groundwork is already underway. I hope for the hierarchical view of symbols to appear in the outline view of VSCode as the first step (probably for the 4.29.0 release), then the work continues for the remaining UI work for 4.30.0 or 4.31.0 - just as a quick update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: spring index & symbols theme: structural view type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants