Skip to content

[VSCode] Allow to stop cargo on command #6895

Closed
@jmg-duarte

Description

@jmg-duarte

I've started developing some macros and recently I've hit a bug in my code which produced an infinite loop.
Once rust-analyzer starts running cargo the only way to stop it is to stop VSCode, this really hurts development, since VSCode now has the lock for the repo.
I should not need to stop the IDE to kill an external program from running, neither should I be expected to kill it with kill.
And even if I do kill it with kill, VSCode just restarts it...

A solution could be adding a button in the following dialog, which sends a SIGTERM signal to cargo?
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsdiagnostics / error reportingE-has-instructionsIssue has some instructions and pointers to code to get startedS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions