rust-lang / rust-lang/rust-analyzer

Finish the PR: ":star: allow running things in `--release`" #11730

Open
#16,047 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-feature
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 --release and 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.