rust-lang / rust-lang/rust-analyzer
"Save without Analyzing" command
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
Visual Studio Code (and other editors I imagine) has a "Save without Formatting" which is useful in cases when you want to save a file without applying code formatting.
I've often found myself wanting to save a file without having Rust analyzer rerun its checks. This can be because I've only edited a comment (as in #12752) or more often because I am editing a build script and I would rather run it in my external terminal (where I can get better output) than let Rust Analyzer run it and fail.
Hence I think a "Save without Analyzing" command would be a really nice addition.
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 names no files, tests, or entry points. Start by locating the existing save and formatting command handling in rust-analyzer, then determine how a command can save without triggering analysis; done means the command is available and saving through it does not rerun Rust Analyzer checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100