redhat-developer / redhat-developer/vscode-java
Making any changes to eclipse formatter xml is not reflecting to actual format of java file
未关闭
还没有人认领这个 Issue。
formatter
regression
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Environment
- Operating System: Arch Linux x86_64
- JDK version: openjdk 18.0.2 2022-07-19
- Visual Studio Code version: 1.72.1
- Java extension version: v1.11.0
Steps To Reproduce
- Make sure "java.format.settings.url" is pointing to correct eclipse formatter xml
- Make any changes to the eclipse formatter xml
- Reload/Restart vscode and format the file
- File will get formatted but new changes will be not reflected
Current Result
FIle is formatted but irrespective of changes made in eclipse formatter xml.
Expected Result
File should be formatted with respect to the changes made in eclipse formatter xml.
Additional Informations
This is happening since v1.11.0, version < 1.11.0 have no such issues.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,使用步骤中描述的 java.format.settings.url 和 Eclipse formatter XML 重现该问题,并比较 1.11.0 版本之前和之后的行为。跟踪 Java 文件在 VS Code reload 后进行格式化时使用的格式化入口点;当 XML 的更改反映在最终格式化结果中时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100