Veli Gebrev
Veli Gebrev

Reputation: 2521

Shortcut to collapse all documentation headers/comments in Visual Studio

Is there a way to collapse all documentation headers (/// comments) in the current file in visual studio (2008+)?

Upvotes: 16

Views: 11074

Answers (2)

Ruben Bartelink
Ruben Bartelink

Reputation: 61795

What Anton said.

If what you want is not on Edit|Outlining, you'd need to write a macro or a DxCore plugin to walk it and Ctrl + M, M each relevant block.

Upvotes: 3

Anton Gogolev
Anton Gogolev

Reputation: 115751

You can try Ctrl + M, Ctrl + O, but that will collapse function bodies as well.

Upvotes: 4

Related Questions