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

[Bug - Go To/Navigation/References] - Does not work for Private Methods/Constructor #3645

Open
mamilic opened this issue May 6, 2024 · 0 comments

Comments

@mamilic
Copy link

mamilic commented May 6, 2024

When I try to find all references for private method I get nothing. Is this desired behaviour?

Environment
  • Operating System:
  • JDK version:
  • Visual Studio Code version:
  • Java extension version:
Steps To Reproduce
  1. Clone https://github.com/nipafx/nox.zone
  2. Navigate to ResourceGatherer.java
  3. Go to Line 83, private static String computeResourceFileName(Path sourceFile, String resourceName) {
  4. Right click on computeResourceFileName method and select Go To References

Constructor
Same steps should be performed for constructor of ResourceGatherer class. When the Go To References is called on constructor it will also be blank, however the class is instansiated at ElementResolver.java at line 68

It will say that there are no references, however the method is used within the class.

@mamilic mamilic changed the title [Go To/Navigation/References] - Does not work for private methods [Go To/Navigation/References] - Does not work for Private Methods/Constructor May 6, 2024
@mamilic mamilic changed the title [Go To/Navigation/References] - Does not work for Private Methods/Constructor [Bug - Go To/Navigation/References] - Does not work for Private Methods/Constructor May 6, 2024
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

1 participant