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

Allow running arbitrary cargo commands #258

Open
ctron opened this issue Jul 2, 2019 · 3 comments
Open

Allow running arbitrary cargo commands #258

ctron opened this issue Jul 2, 2019 · 3 comments

Comments

@ctron
Copy link

ctron commented Jul 2, 2019

Currently you can only configure cargo run and cargo test.

However it would great to run other cargo commands as well.

@mickaelistria
Copy link
Contributor

Which command do you have in mind.
The External Launch Configuration > Program and the Terminal are possible workarounds. I'd like to avoid spending too much effort for commands that are run too rarely to require deep IDE integration (supporting a command means creating a UI for all its possible options, it's actually a big effort in development and maintenance).

@ctron
Copy link
Author

ctron commented Jul 3, 2019

I think build, clean, bench, fmt sound like a good start. But you can also install custom commands yourself, which extend cargo.

So I think it might be valuable to have, like for maven, the possibility to simply specify what cargo command should be executed.

@norru
Copy link
Contributor

norru commented Jul 4, 2019

If you allow enough flexibility, this could simplify the workflow as separate cargo run and cargo test configurations won't be needed as you'd just need one parametric cargo ${op}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants