Skip to content

rust-analyzer does not suggest macro matchers for autocomplete. #701

@andriyDev

Description

@andriyDev

In VSCode with rust-analyzer, when trying to autocomplete the name of a macro matcher like matches_pattern!, rust-analyzer does not suggest it.

I believe this is because the macros are all annotated with #[doc(hidden)] which rust-analyzer hides from recommendations.

One possible solution is for rust-lang/rust#39412 to be stabilized (may be a long wait though).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions