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

The project DataflowTemplates can't be parsed when opened by VSCode from WSL #3367

Open
alexpf opened this issue Oct 27, 2023 · 0 comments
Open

Comments

@alexpf
Copy link

alexpf commented Oct 27, 2023

The project https://github.com/GoogleCloudPlatform/DataflowTemplates can't be parsed when opened by VSCode from WSL

Environment
  • Operating System: Windows 11 / WSL Ubuntu 22
  • JDK version: 17.0.8.1
  • Visual Studio Code version: 1.83.1
  • Java extension version: 1.24.0
Steps To Reproduce
  1. clone https://github.com/GoogleCloudPlatform/DataflowTemplates to a WSL directory
  2. open in VSCode via "code ."
Current Result

All the Java subprojects in the "v2" subfolder are red.
The "Language Support for Java" log contains multiple errors like
[Error - 7:19:34 PM] Oct 27, 2023, 7:19:34 PM Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ls.core".
structured-logging does not exist
Java Model Exception: Error in Java Model (code 969): structured-logging does not exist
at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException(JavaElement.java:550)
at org.eclipse.jdt.internal.core.JavaModelManager.getPerProjectInfoCheckExistence(JavaModelManager.java:2567)
...
Jumps to type definitions don't work.
language-server-log.txt

Expected

devtools-console-log.txt
Result
The project is parsed correctly, no errors detected, all the jumps to type definitions work.

Additional Informations

cat /proc/sys/fs/inotify/max_user_watches
524288

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