redhat-developer / redhat-developer/vscode-java
Editor encoding inherited from Maven
未关闭
还没有人认领这个 Issue。
enhancement
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
If we have a Maven project and its POM tag "project.build.sourceEncoding" is different from the editor's default "files.encoding", it would be helpful if VS Code could notify us of this or automatically set the Maven encoding in the "files.encoding" setting of workspace's settings.json file.
Currently I have to check it and change it manually.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位扩展对 Maven 项目的处理逻辑,以及与 VS Code 的工作区设置 files.encoding 的集成点。在 Maven 项目中比较 project.build.sourceEncoding 与编辑器默认值,然后明确完成是指通知、自动更新工作区,还是两者兼有,并验证编码匹配和不匹配时的行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- build-system, developer-experience
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100