'Visual Studio Code CTRL+Click with Java stops working after a while
For some reason after having a Java project open for more than 20 minutes, maybe a little more, the CTRL+Click shortcut to inspect classes/methods stops working. When clicking it only appears a loading indicator on the tabs section that keeps going forever without actually loading anything.
Another problem is that when hovering on a method it will stay on "Loading..." forever.
Strangely enough IntelliSense keeps working, so it will still give suggestions while writing.
I am using "Extension Pack for Java" latest version and latest version of VSCode. I am also using JavaSE-11.
Edit: maybe it's worth pointing out that I'm encountering this problem on a Spring Boot project.
Solution 1:[1]
Have you installed the extension Lombok Annotations Support for VS Code? It can modify your "java.jdt.ls.vmargs" in the settings.json. Although you have uninstalled it, this configuration will not be removed.
Please check whether you have modified "java.jdt.ls.vmargs" in the settings.json.
If it still does not work please disable all the extensions and only enable the Java-related extensions, and clear the settings.json then to reopen the VSCode.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Steven-MSFT |


