vscode-java
vscode-java copied to clipboard
"Cannot find symbol"
VS Code shows a "Cannot find symbol" error with the red squigly for several symbols but "Go to definition" works which means the definition is available.
Environment
- Operating System: Ubuntu 18.04
- JDK version: 1.8.0_171
- Visual Studio Code version: 1.23.1
- Java extension version: 0.26.0
Steps To Reproduce
- Open the attached dummy project in VS Code.
Current Result
You should see several errors related to "cannot find symbol". However, navigation or "Go to definition" works on these symbols.
Expected Result
The red squiggly lines should not appear since I think the symbols are indeed available.
Additional Informations
The VS Code settings.json file is also attached. java-symbols.zip