7

XML comments (before methods etc.) used to hide the summary when collapsed. Now they show it (even when collapsed).

Is there a way to prevent that?

i.e.

This is what's shown:

enter image description here

when the following is collapsed:

/// <summary>
/// How do I hide this text in this view?
/// </summary>
public int abc;
ispiro
  • 26,556
  • 38
  • 136
  • 291

2 Answers2

7

I didn't like that change either, so I wrote an extension to revert to the VS 2013 behavior. I just wrote it last night, so I'd consider it a beta at this point, but I'll be actively using it and actively fixing any bugs that arise. Feel free to check it out:

https://github.com/refactorsaurusrex/squishy-vs


Turn this...

enter image description here

... into this:

enter image description here

Nick Spreitzer
  • 10,242
  • 4
  • 35
  • 58
1

In Visual Studio 2017, doing this:

/// <summary>
/// <para>Put your description here</para>
/// </summary>

Just shows ///<summary> in a rectangle.