redhat-developer / redhat-developer/vscode-java
vscode-java/jdt.ls doesn't pick up settings changes if language server isn't running
未关闭
@testforstephen 已经在做这个了。
开始于 2020年10月28日。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
This issue is a spinoff of #1672 which contains some more background information.
I encountered the following problem:
If you:
- start vscode without starting the Java language server (e.g. folder without a pom.xml but with subfolders containing Java projects)
- directly edit the java.* settings (e.g. java.home or java.configuration.runtimes) in settings.json
- save the settings
- 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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。