Skip to content

Both cargo check and cargo clippy one after the other in rust-analyzer #21286

@frederikhors

Description

@frederikhors

Hi everyone,

In my .vscode/settings.json I've configured cargo clippy as the default value for rust-analyzer.check.overrideCommand. While this gives useful linting, it significantly slows down feedback compared to cargo check, which is much faster.

Is there a way to combine both workflows? Ideally, I'd like fast feedback from cargo check and right after (and maybe only if there are NO errors) cargo clippy.

Is this possible with rust-analyzer or VS Code, and if so, how can it be configured?

What do you like?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-flycheckissues with flycheck a.k.a. "check on save"C-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions