redhat-developer / redhat-developer/vscode-java
Option to lint on save
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
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.
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
No files, tests, or entry points are named. Start by locating the extension's linting or diagnostic update path and its handling of file-save events; done means an option lets users defer lint warnings until saving, while preserving the existing behavior when the option is not enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100