redhat-developer / redhat-developer/vscode-java

Editor encoding inherited from Maven

未关闭
#4,416 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。