go to references , so slow
[provide a description of the issue]
Environment
- Operating System: Debian GNU/Linux 12 (bookworm)
- JDK version: 1.8.0_402
- Visual Studio Code version: 1.93.1 (Universal)
- Java extension version: v0.29.0
Steps To Reproduce
- [step 1]
- [step 2]
[Please attach a sample project reproducing the error] Please attach logs
Current Result
https://github.com/user-attachments/assets/c1a55568-8115-4d14-9593-bce3c7f15a44
Expected Result
Additional Informations
Are you able to share the project ? It's seems pretty fast on much larger number of references for me, so maybe it is something to do with the classpath.
Does setting "java.references.CodeLens": true in your settings have any effect ? This would set the number references as a code lens on each member.
hello, @rgrunber
It seems that vscode not recognize "java.references.CodeLens": true
My mistake. Should have said java.referencesCodeLens.enabled to true.
It works for me . Now It's fast, thank you very much
@xiangpingjiang , hold on. Did "Go to references" become fast, or did you just start using the code lens references on the method declarations ?
@rgrunber "Go to references" didn't become fast, I just start using the code lens references on the method declarations
The same problem, for simple method names (such as create, update and other commonly used method names), using go to reference or left mouse button + cmd is very slow, while finding the reference through code lens is very fast