Search code examples
xmlvisual-studiovisual-studio-2015code-folding

Visual Studio 2015 collapse/toggle XML comments only


I want to know if there is a way to collapse/toggle only XML function comments. If I choose Collapse to Definitions in Visual Studio 2015, that collapses all of my functions as well as the accompanying XML comments, I want a way to collapse/toggle only XML comments. Is this possible in visual studio 2015? If so how can I do it?

By XML comments I refer to this:

XML Comment Example


Solution

  • The NoComment extension for Visual Studio seems to do exactly what you're looking for.

    This extension replaces comments with a callout icon. Comments can be shown by hovering over the icon (Tooltip)