redhat-developer / vscode-java

Java Language Support for Visual Studio Code
Eclipse Public License 2.0
2.08k stars 441 forks source link

[Bug] - Can not search for Java JRE classes #3814

Closed mamilic closed 1 month ago

mamilic commented 1 month ago

When I open search with CTRL + T, and search for Arrays claas or List, or some other Java internal claas it can not be found. I was wondering if I am using this correctly, is there other search that will only search internal JDK classes?

Environment
Steps To Reproduce
  1. Open any Java Project
  2. Open search CTRL + T
  3. Search for any of, List, Array, Long, Instant
Current Result

The internal JDK classes are not searchable

Expected Result

Internal JDK classes should be searchable

snjeza commented 1 month ago

@mamilic Could you try https://github.com/snjeza/vscode-test/raw/refs/heads/master/java-1.37.0.vsix? See https://github.com/redhat-developer/vscode-java/issues/3797#issuecomment-2395493585

mamilic commented 1 month ago

Hi @snjeza , actually running the "Clean Java Language Server Workspace" did the tirck. Thanks, I think we can then close this issue.

snjeza commented 1 month ago

A duplicate of https://github.com/redhat-developer/vscode-java/issues/3797