You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey everyone, it seems that I'm unable to find any Java methods, symbols, or classes when I use the "# symbol command". My expectation is that when I type or search in this manner, I should see the corresponding methods and relevant classes, etc. However, that is not happening.
You would be able to search for any class in the classpath, but currently only methods declared in the project itself (not libraries), assuming "java.symbols.includeSourceMethodDeclarations": true. I just tried it out with 1.93.1 & 1.91.1, on vscode-java 1.34.0, and it seems to be working.
Does the project import successfully without errors ? You should see that the language server is in the ready state in the bottom left corner.
If you open a Java source file, you should see that a JDK has been configured, based on the project's build settings :
Hey, @rgrunber !
Thank you very much for your support. It seems the option you provided has worked for me:
"java.symbols.includeSourceMethodDeclarations": true
Thanks!
For reference, if you wanted to look through all method declarations, even from dependencies of the project, this is a feature I definitely want to have adopted (See eclipse-jdtls/eclipse.jdt.ls#1712 ). It's just that we need a particular feature (partial search) so it won't be too slow on larger projects.
Hey everyone, it seems that I'm unable to find any Java methods, symbols, or classes when I use the "# symbol command". My expectation is that when I type or search in this manner, I should see the corresponding methods and relevant classes, etc. However, that is not happening.
Environment
Steps To Reproduce
The text was updated successfully, but these errors were encountered: