-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
vscode extension: custom "check" using cargo alias is not fully implemented #8098
Comments
I think this is working as expected. For commands that are not CLI-compatible with cargo check, you can set |
That's a bit of a pain. I was hoping to have a single source-of-truth for preferred clippy flags, and I obviously don't want to have |
As an aside, it would be lovely if malformed |
That's |
@lnicola I think it should, but the clippy people apparently disagree: rust-lang/rust-clippy#1313 |
We now show an error pop up and proper information, otherwise this works as intended. |
Cargo has a neat aliasing feature which can use one of the two syntaxes in the
.cargo/config.toml
file (or equivalent):Both of these work as expected in the terminal, but only
c1
works when you set it as"rust-analyzer.checkOnSave.command": "c1"
in vscode. Withc2
I get the following in the extension logs (RA_LOG=warn
):The text was updated successfully, but these errors were encountered: