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

go to references , so slow #3786

Open
xiangpingjiang opened this issue Sep 28, 2024 · 6 comments
Open

go to references , so slow #3786

xiangpingjiang opened this issue Sep 28, 2024 · 6 comments

Comments

@xiangpingjiang
Copy link

xiangpingjiang commented Sep 28, 2024

[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
  1. [step 1]
  2. [step 2]

[Please attach a sample project reproducing the error]
Please attach logs

Current Result
Screen.Recording.2024-09-28.at.08.39.10.mov
Expected Result
Additional Informations
@rgrunber
Copy link
Member

rgrunber commented Oct 2, 2024

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.

@xiangpingjiang
Copy link
Author

image

hello, @rgrunber
It seems that vscode not recognize "java.references.CodeLens": true

@rgrunber
Copy link
Member

My mistake. Should have said java.referencesCodeLens.enabled to true.

@xiangpingjiang
Copy link
Author

It works for me . Now It's fast, thank you very much

@rgrunber
Copy link
Member

rgrunber commented Oct 11, 2024

@xiangpingjiang , hold on. Did "Go to references" become fast, or did you just start using the code lens references on the method declarations ?

@xiangpingjiang
Copy link
Author

@rgrunber
"Go to references" didn't become fast, I just start using the code lens references on the method declarations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants