redhat-developer / redhat-developer/vscode-java

Corrupted workspace in Maven Multi-Module Project

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

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

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

説明

[provide a description of the issue]

Environment
  • Operating System: Windows
  • JDK version: 1.8.0_172
  • Visual Studio Code version: 0.25.0-insider
  • Java extension version: 0.26.0
Steps To Reproduce

I fiddled with swagger, switched branches and got this:

message: The project was not built since the source file /jdt.ls-java-project/src/[SWAGGERJAVASOURCEPATHSHERE] could not be read
Additional Informations

I got this fixed after doing countless cleans and eclipse:eclipse by removing the vscode workspaceStorage alltogether.
I can't exactly tell you reproduction steps since its now fixed and i forgot to write down steps beforehand... but you should probably know that the language server / vscode-java compiler has issues with copied java source files referencing nonexistent source files in the workspaceStorage

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

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

はじめの一歩

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

調査の方向性

まず、Java language server と VS Code workspaceStorage が、Maven のマルチモジュールプロジェクト、ブランチの切り替え、Swagger 関連のソース参照、存在しないソースファイルをどのように処理するかを確認してください。レポートには信頼できる再現手順も、指定されたファイルやテストもありません。stale なソース参照によって workspace が破損したままにならなくなれば完了とします。

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

評価

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

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

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