Skip to content

Add inlay hint for // endregion marker that displays the value of // region: label #20312

@ZylosLumen

Description

@ZylosLumen

If there is a lot of code in between, it can be hard to tell what an // endregion marker refers to. One way is to copy paste the label but then you would need to keep it in sync whenever you update it (think about c++ namespace, ifdef, etc. ending comment markers)

Proposal: Add an inlay hint after // endregion markers that display the label.
Alternative: Provide goto definition for // endregion markers

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-idegeneral IDE featuresA-inlay-hintsinlay/inline hintsC-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions