redhat-developer / redhat-developer/vscode-java

vscode-java/jdt.ls doesn't pick up settings changes if language server isn't running

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

@testforstephen がすでに取り組んでいます。

2020年10月28日 から。

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

説明

This issue is a spinoff of #1672 which contains some more background information.

I encountered the following problem:

If you:

  1. start vscode without starting the Java language server (e.g. folder without a pom.xml but with subfolders containing Java projects)
  2. directly edit the java.* settings (e.g. java.home or java.configuration.runtimes) in settings.json
  3. save the settings
  4. open a Java file afterwards

the language server will start with the old settings and does not prompt you to clean the workspace. Your workspace will be out of sync with the settings and you'll need to manually clean the workspace.

Environment
  • Operating System: MacOS 10.15
  • JDK version: 11/15
  • Visual Studio Code version: 1.50.1
  • Java extension version: 0.69.0
Steps To Reproduce

see above in description

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

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

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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