D. Foley
D. Foley

Reputation: 1024

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

Upvotes: 1

Views: 485

Answers (2)

csadam
csadam

Reputation: 481

The CollapseComments extension does it.
Difference from the NoComment is that it does not replace the comments with icons. It still shows the first line of the summary line, like when you collapse the XML comment manually.

Upvotes: 1

Emiel Koning
Emiel Koning

Reputation: 4225

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)

Upvotes: 1

Related Questions