Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide XML comments in Visual Studio 2017 (version 15.5.1)

When collapsing the XML comments for methods etc. It used to be that the summary was hidden. As I would like it to be. Then in VS2015 they broke this. I asked a similar question about VS2015 and got a nice workaround here - to use <para>.

The workaround continued working in VS2017 until now. Now I updated to version 15.5.1 and the workaround is broken, (why??...) and I can't find a setting to change that.

Is there one somewhere?

like image 405
ispiro Avatar asked Oct 27 '25 03:10

ispiro


1 Answers

The way XML comments clutter up the code has always bothered me. In the past I've tried a few different Visual Studio Extensions and they've always sucked.

However, I just installed NoComment and it seems to do the job. I'm running Visual Studio 2017 version 15.7.3.

While I was looking for this I came across your question, so I thought I'd provide an answer. Hopefully you'll find it helpful :)

like image 95
craftworkgames Avatar answered Oct 28 '25 17:10

craftworkgames