redhat-developer / redhat-developer/vscode-java
Add command to switch "autobuild" on/off
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Hi,
most of the time I run maven build outside of vscode in the terminal. This interferes with the extension's way of detecting changes. It seems that the extension also starts building, which leads to alot of ClassNotFoundExceptions in the maven build (probably because vscode deleted the already build classes while the maven build was running).
To circumvent this I used to temporarily disable the auto build feature back when I was using Eclipse.
I know this is also possible via the settings menu.
Environment
- Operating System: macOS 11.5.1 (20G80)
- JDK version: openjdk version "15" 2020-09-15
- Visual Studio Code version: 1.60.0-insider
- Java extension version: v0.18.2
Steps To Reproduce
- Start a long running maven build (something simple will not work)
- See
ClassNotFoundExceptions in the maven build
Expected Result
- Add the `Autobuild: Enabled/Disabled" settings to the command pallet
- Add the `Autobuild: Enabled/Disabled" to the status bar, at least to show the status, better even to allow to toggle the setting.
This would allow to easily switch between those two modes.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 指向现有的 autobuild 设置及其在 settings-menu 中的实现;首先定位该设置,以及扩展的命令和状态栏注册位置。验证长时间运行的 Maven 复现,然后确认可以从 Command Palette 和状态栏切换该设置,并且其启用或禁用状态是可见的。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- build-system, developer-experience, tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100