C# hide and unhide comments

后端 未结 5 1239
暗喜
暗喜 2020-11-30 10:48

I am trying to find solution how to hide and unhide comments in VS2010. What i found is:

# region 
comments for code
#endregion

and:

<
5条回答
  •  爱一瞬间的悲伤
    2020-11-30 11:32

    You could use this macro to collapse all of the XML comments. I suspect that's about as good as you're going to get.

    There is no way other than changing the comment color to hide inline comments and I could see that leading to all sorts of problems.

提交回复
热议问题