Skip to content

Code actions with "expand macro" are not shown for top level inline macros #1163

@piotmag769

Description

@piotmag769
pub macro inc {
    ($x:expr) => { $x + 1 };
}

crate::in<caret>c!(2);

Same for plugin based top level inline macros like component!.

Mind that calling expand command manually here works as expected, just the code action is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions