microsoft / microsoft/vscode-spring-boot-dashboard

Enhance beans view to optionally display framework beans

Open
#360 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
73
Forks
38
Avg merge
3d 5h
Merged PRs (30d)
15

Description

The beans view is really useful to find the place that defines a bean. As of now, it only shows the beans that are explicitly defined in the source files of the app and not the ones that are created by the frameworks autoconfiguration.

Sometimes it is necessary for debugging purposes, to also find the class that defines a framework bean (for instance to better understand under which conditions the bean is active and which values it uses).
IDE functions like "Find All References" can help here too, but for some beans there are so many references that it becomes impractical to find the place that defines the bean in this way. For example to find where UserDetails is defined:

Image

In this situation, it would be really helpful if there was

  • some setting or toggle to also show framework beans in the beans view [0]
  • a Go to Bean Definition option in the context menu, similar to the Find all [References|Implementations] or Go to Definition that I believe are provided by the java extension

I am not sure if a Go to Bean Definition is even possible, but that would provide the most value for me.

[0] I am talking about this:

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no implementation files, tests, or entry points. Start by locating the beans view implementation and determine whether framework bean metadata supports a toggle or a Go to Bean Definition action; done requires a decided, working approach for displaying or navigating to framework beans.

Written by the indexing model from the issue text.

Assessment

Tech stack
spring-boot, typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.