Skip to content

Syntax highlighting for macros #10281

Open
@Milo123459

Description

@Milo123459

Very far-fetch with little logic behind it

Syntax highlighting inside of macros. Something parses the content inside a macro, and theoretically speaking this could be used for syntax highlighting inside of a macro.

For example, take the xflags macro. This crate has its own syntactical sugar inside of the macro, and syntax highlighting for it would be cool. Theoretically, it just has to parse how the macro is defined and send that back to the editor, but it is probably more complex than that.

Not sure how this would work with proc-macros.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-highlighting(semantic) token highlightingA-macromacro expansionC-featureCategory: feature requestE-hardS-unactionableIssue requires feedback, design decisions or is blocked on other workfunA technically challenging issue with high impact

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions