redhat-developer / redhat-developer/vscode-java
The project DataflowTemplates can't be parsed when opened by VSCode from WSL
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
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
- clone https://github.com/GoogleCloudPlatform/DataflowTemplates to a WSL directory
- 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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、WSL Ubuntu のディレクトリで DataflowTemplates リポジトリを使って報告内容を再現し、"code ." で VSCode を介してその v2 サブプロジェクトを開きます。添付された language-server-log.txt と devtools-console-log.txt を読み、その後、結果を期待される動作と比較します。パースエラーがなく、型定義へのジャンプが機能することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 40/100