redhat-developer / redhat-developer/vscode-java

Exceptions are buried in the log file.

オープン
#1,832 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement
主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

I turned on the java tooling in vscode for a flutter project and received the following error:

Failed to configure project sounds

When I googled the error I found a github issue that suggested I should open the java log file where I found:

java.lang.Exception: Could not set the project description for 'sounds' because the project description file (.project) is out of sync with the file system.

I shouldn't have to dig into a log file to find the actual error. vscode-java should be showing the exception description in the vscode problems window.

Version: 1.54.1
Commit: f30a9b73e8ffc278e71575118b6bf568f04587c8
Date: 2021-03-04T22:38:50.094Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Linux x64 5.8.0-44-generic snap

Language Support for java by redhat: v0.76.0

java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.10)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.10, mixed mode, sharing)

Ubuntu 20.04

Could not set the project description for 'sounds' because the project description file (.project) is out of sync with the file system.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

この issue にはソースファイル、テスト、エントリーポイントが記載されていません。VS Code の Java ツールでプロジェクト設定の失敗を再現し、そのエラーがどのように Problems ウィンドウへ到達するかを追跡してください。例外の説明が Java log にだけ表示されるのではなく、そこに表示されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, typescript, vscode
領域
developer-experience, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。