Skip to content

Region headers should be intented #14716

Description

Description

In the minimap, region headers are shown in bold letters. Since regions start with #pragma region and end with #pragma endregion, they can be nested by simply putting another #pragma region before the #pragma endregion. We support folding of these nested sections, but they should be indented on the minimap, perhaps by the same amount as a tab in the code in the minimap. This should only apply when the inner region actually ends with #pragma endregion.

Issue Details

Item Value
Issue Category Feature Request
Target C/C++
VS Code Version Code 1.135.0 (08d4889f9ec4a1685d257b9b95de036c8e1ce1e5, 2026-08-25T14:26:52Z)
OS Version Linux x64 6.8.0-137-generic
Extension Identifier ms-vscode.cpptools
Extension Version 1.34.0
Extension Publisher ms-vscode

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions