Visual Studio 2026: Outlining, "Collapse To Definitions"

Steve Naidamast 0 Reputation points
2025-11-21T19:09:17.74+00:00

With the latest updated to Visual Studio 2026, I noticed that the "Outlining" option, "Collapse To Definitions", no longer collapses the code within the master "#Region#region" headings but collapses only the coding sections within each "#Region#region" heading, leaving the regions still expanded.

Is this a new "bug as a feature" (now it is supposed to work this way) or is this just a new bug to be considered?

Thank you,

Steve Naidamast (Sr. Software Engineer)

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-11-21T19:09:43.4833333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The behavior you are experiencing with the "Collapse To Definitions" feature in Visual Studio 2026, where it only collapses the code within each #Region and leaves the regions themselves expanded, is not documented as a known bug or feature change in the provided context. Therefore, it is unclear whether this is intended behavior or an unintended issue introduced in the latest update.

    To determine if this is a bug or a feature, you might consider checking the official release notes for Visual Studio 2026 or reporting the behavior to the Visual Studio community or support channels for further clarification.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.