Skip to content

[Feature Request] Add macro expansion when hovering over a macro to show resulting code #1734

@motobud31

Description

@motobud31

When hovering over a macro, the definition is given, but it would be nice to see what the macro would expand to be.

#define MIN(_x, _y) (((_x) < (_y)) ? (_x) : (_y))
z = MIN(3, 4); // this would expand to show (((3) < (4)) ? (3) : (4))

Maybe there could be an option/toggle to show the actual define, or the expansion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions