Hide XML comments in Visual Studio 2015

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

Is there any way to prevent this?

i.e.

This is shown:

enter image description here

when the following is collapsed:

 /// <summary> /// How do I hide this text in this view? /// </summary> public int abc; 
+6
source share
2 answers

In Visual Studio 2017, do the following:

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

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

+1
source

I also did not like this change, so I wrote an extension to return to the behavior of VS 2013. I just wrote it last night, so at the moment I consider it a beta version, but I will actively use it and actively fix errors that arise. Feel free to check:

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


Turn it ...

enter image description here

... in it:

enter image description here

+5
source

All Articles