redhat-developer / redhat-developer/vscode-java

Update classpath based on java.project.referencedLibraries when modifications in pointed folders

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

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

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

説明

Environment
  • Operating System:
  • JDK version:
  • Visual Studio Code version:
  • Java extension version:
Steps To Reproduce
  • have a folder defined in java.project.referencedLibraries outside of workspace. For instance:
	"java.project.referencedLibraries": [
		"/home/apupier/.config/Code/User/globalStorage/redhat.vscode-camelk/java-dependencies-3.7.0/dependencies/*.jar"
	]
  • list of jars is modified inside /home/apupier/.config/Code/User/globalStorage/redhat.vscode-camelk/java-dependencies-3.7.0/dependencies/

[Please attach a sample project reproducing the error]
Please attach logs

Current Result

the classpath is not refreshed.

Expected Result

Either:

  • automatically detect it and refresh
  • provide a command to call a refresh
Additional Informations

any light workaround for it? (or already existing API?)

heavy workarounds:

  • remove the entry, then readd in the settings
  • call "Clean java language Server workspace"

needed for VS Code Camel K https://issues.redhat.com/browse/FUSETOOLS2-826

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

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

はじめの一歩

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

調査の方向性

まず、java.project.referencedLibraries 設定がどのように処理されるか、またワークスペース外の参照フォルダーの変更に対して拡張機能がどのように反応するかを追跡します。既存の「Clean java language Server workspace」という回避策と、要求されている自動更新またはコマンドを比較し、その後、一致する JAR を追加または削除すると classpath が更新されることを確認します。

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

評価

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

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

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