redhat-developer / redhat-developer/vscode-java
Option to lint on save
未关闭
还没有人认领这个 Issue。
compile
ux
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Environment
- Operating System: Linux x64 5.4.28-1-MANJARO
- JDK version: OpenJDK 11.0.6
- Visual Studio Code version: 1.43.2
- Java extension version: 0.59.0
Feature request
When typing some code the extension will automatically lint the code when I stop typing, but before I save the file. This causes some distraction because I get some warning even tho I didn't finish writing my code. Would be possible to add an option to lint the code on save in order to reduce linting distractions?
Current Result
Lint errors/warning while typing code, before any save is done.
Expected Result
Lint when saving the file.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
没有指定文件、测试或入口点。首先定位扩展的 linting 或诊断更新路径,以及它对文件保存事件的处理;当某个选项允许用户将 lint 警告推迟到保存时,同时在未启用该选项时保留现有行为,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100