redhat-developer / redhat-developer/vscode-java
Compilation errors on a working codebase as soon as I install this extension
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
As soon as I install this extension I start getting all kind of compilation errors in the PROBLEM view. Errors that don't make sense like saying it can't find a variable that's clearly defined.
If I close VSCode or uninstall the extension it starts working again.
Maybe something to do with classpath? Please help me figure this out, I'll pulling my hair out over this for days.
I have tried cleaning the workspace directory already.
Environment
- Operating System: MacOS BigSur
- JDK version: 8(Maven tells me 1.8)
- Visual Studio Code version: 1.54.3
- Java extension version: v0.76.0
Steps To Reproduce
- Open VSCode with extension installed
- Go to the terminal(either os terminal or VSCode terminal) and run
mvn clean verify install
Sample project to reproduce the error
Logs
Current Result
Bunch of build errors
Expected Result
No build errors since this is a healthy project when it doesn't have the extension installed.
Additional Informations
- Works normally with eclipse open.
- Works normally with VSCode open but without this extension installed(I can install everything else in the https://github.com/Microsoft/vscode-java-pack). Meaning this is, indeed, the culprit.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
指定された macOS、JDK 8、VS Code、および Java 拡張機能のバージョンで、mvn clean verify install を使用してサンプルプロジェクト segmentio/analytics-java の問題を再現します。拡張機能をインストールした状態で Problems ビューとビルドの動作を比較し、リンクされたログを確認します。拡張機能が有効な間、正常なプロジェクトに誤ったコンパイルエラーが表示されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, vscode
- 領域
- developer-experience, devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100