redhat-developer / redhat-developer/vscode-java
Add command to switch "autobuild" on/off
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to the existing autobuild setting and its settings-menu implementation; start by locating that setting and the extension's command and status-bar registrations. Verify the long-running Maven reproduction, then confirm the setting can be toggled from the Command Palette and status bar and that its enabled or disabled state is visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- build-system, developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100