redhat-developer / redhat-developer/vscode-java

Go to references not working

Open
#3,106 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug upstream
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

The go to references codeLens is not usable when using generics in certain constellation.

refs

Environment
  • Operating System: Windows 10 Professional
  • JDK version: openjdk-17.0.6
  • Visual Studio Code version: 1.77.3
  • Java extension version: 1.15.0
Steps To Reproduce
  1. open project
  2. use Java extension version: 1.15.0 or higher >> 1.14.0 is working!

sample project

Current Result

go to references only shows 1 reference

Expected Result

it should show 2 references

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

Start with the linked sample project and reproduce the Go to References CodeLens behavior using Java extension versions 1.14.0 and 1.15.0 or higher. Compare the results for the generic case, then verify that the affected scenario reports both references rather than only one.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.