redhat-developer / redhat-developer/vscode-java
Outline with VSCodium/macOS broken for versions > 1.10
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
Using a clean install of VSCodium on macOS (details see below) with only vscode-java.
Java project is https://github.com/karstengresch/manning-kube-native-microservices/tree/master/chapter2/account-service/
When the extension in version <=1.10 is installed, an outline for the Java classes is displayed.
When the extension in version >=1.20 is installed, instead of an outline, I see the message "No symbols found in document '*'", so the outline is not displayed.
*current-file-name.extension, e.g. Account.java
Expected behavior: Outline is still displayed.
Environment
- Operating System: macOS 11.6
- JDK version: openjdk version "11.0.14" 2022-01-18 - OpenJDK Runtime Environment Temurin-11.0.14+9 (build 11.0.14+9) - OpenJDK 64-Bit Server VM Temurin-11.0.14+9 (build 11.0.14+9, mixed mode)
- Visual Studio Code version: VSCodium (!) Version: 1.65.0 Commit: b5205cc8eb4fbaa726835538cd82372cc0222d43 Electron: 13.5.2 Chromium: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Darwin x64 20.6.0
- Java extension version: 1.00-1.40, affected versions: 1.20+
Steps To Reproduce
- Fresh install of VSCodium (all extension folders
- Fresh install of Java extension >=1.20
- Check outline for a Java file.
[Please attach a sample project reproducing the error]
https://github.com/karstengresch/manning-kube-native-microservices/tree/master/chapter2/account-service/
Please attach logs
Attached for version 1.10:
client.log.2022-03-10.log
NB
Version 1.20+ logfile creation doesn't work, command results in:
"Command 'Java: Open Java Extension Log File' resulted in an error (command 'java.open.clientLog' not found)"
Current Result
Versions 1.20+ show instead of the outline the message, "No symbols found in document '<file.extension>'"
Expected Result
Outline is displayed also for versions 1.20+
Additional Informations
Not tested with VSCode M$-proprietary.
Not tested with versions < 1.00.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
macOS 上の VSCodium で、リンクされた account-service サンプルプロジェクトを使って問題を再現し、1.10 未満と 1.20+ の Java 拡張機能のバージョンを比較します。アウトラインの結果を確認し、影響を受けるバージョンで java.open.clientLog コマンドを利用できない理由を調査します。1.20+ では Java ファイルにアウトライン内のシンボルが表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100