microsoft / microsoft/vscode-spring-boot-dashboard

Target location of a bean is different when app is running or not

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

Nobody has claimed this yet.

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

Description

You can navigate to the definition by left-click on the tree item.

for bean crashController in project spring-petclinic, if you navigate to the definition

  • in the static mode (app not running), the editor will jump to the annotation (CrashController.java:28)
  • when app is running, the editor will jump to the class (CrashController.java:29)

is this behavior by design?

Originally posted by @CsCherrYY in https://github.com/microsoft/vscode-spring-boot-dashboard/issues/164#issuecomment-1143180323

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

Reproduce the spring-petclinic example in static mode and while the app is running. Compare navigation for the crashController bean between the annotation at CrashController.java:28 and the class at CrashController.java:29, then determine whether the differing targets are intentional; done means the behavior is clarified or made consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
spring, typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.