rust-lang / rust-lang/rust-analyzer
Finish the PR: ":star: allow running things in `--release`" #11730
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
https://user-images.githubusercontent.com/1711539/158676805-35af6442-06fd-4842-a288-3cbbcfbcc448.mp4
Took me only about 3 years to realize this is possible!
I probably won't get a chance to properly polish this though, so I'd appreciate if somebody takes over!
Things to fix:
- this probably needs to be part of the state (persistent acroos restarts)
- i am very confused as to how our command line is assembled, there probably needs to be some checks whic prevent
--release --releaseand such - probably needs "toggle release" command in case someone doesn't have a mouse
_Originally posted by @matklad in https://github.com/rust-lang/rust-analyzer/issues/11730#issuecomment-1069551834
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
Start by reviewing the referenced PR #11730 and tracing how --release is represented in the command-line assembly. Confirm the intended behavior for persistence across restarts, duplicate --release checks, and a mouse-free toggle command; completion should cover the listed fixes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100