Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: "Stop RA server" VSCode action #12936

Closed
Tracked by #86
moxian opened this issue Aug 3, 2022 · 2 comments · Fixed by #13426
Closed
Tracked by #86

Feature request: "Stop RA server" VSCode action #12936

moxian opened this issue Aug 3, 2022 · 2 comments · Fixed by #13426
Labels
A-vscode vscode plugin issues C-feature Category: feature request

Comments

@moxian
Copy link

moxian commented Aug 3, 2022

Sometimes I open a folder in my VScode to use the latter as a mere text editor, not a fully-fledged IDE.
Sometimes said folder happens to contain Cargo.toml and a hefty rust project within, which makes RA spin up, consume CPU and RAM, while providing no benefits for me.

In those situations i wish i could ctrl+shift+P -> Rust Analyzer: Stop server but that one is not an option presently.

This is a feature request to provide said option. It would - presumably - do the same thing as Rust Analyzer: Restart server, but without the "start" part.

@flodiebold flodiebold added A-vscode vscode plugin issues C-feature Category: feature request labels Aug 8, 2022
@repi
Copy link

repi commented Oct 2, 2022

There is nowadays a "rust-analyzer: Cancel running flychecks" that I think is supposed to do this, but I've found it generally doesn't work or takes a long time until it cancels running builds (would expect it to cancel/abort it immediately)

@Veykril
Copy link
Member

Veykril commented Oct 3, 2022

A stop command still seems like a good addition. Cancel running flychecks not being immediate is a bit odd though, it certainly should 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-vscode vscode plugin issues C-feature Category: feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants