C#隐藏和取消隐藏评论 [英] C# hide and unhide comments

查看:266
本文介绍了C#隐藏和取消隐藏评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找到解决方案如何隐藏和取消隐藏VS2010评论。我发现的是:

 #区
为code评论
#endregion

<一个href=\"http://holyhoehle.word$p$pss.com/2010/01/17/hide-comments-in-visual-studio/\">http://holyhoehle.word$p$pss.com/2010/01/17/hide-comments-in-visual-studio/

但在VS2010这个人是不工作或我不知道如何...

因此​​,也许任何一个可以帮助并提供一些解决方案如何隐藏这样的评语:

 字符串x =...//注释


解决方案

我做了一个Visual Studio扩展,它允许您隐藏/显示注释。结果
你可以得到它的here.

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

# region 
comments for code
#endregion

and:

http://holyhoehle.wordpress.com/2010/01/17/hide-comments-in-visual-studio/

but this one is not working in VS2010 or i don't know how to...

So maybe any one can help and offer some solution how to hide comments like:

string x = "...." //comment

解决方案

I made a Visual Studio extension that allows you to hide/show comments.
You can get it here.

这篇关于C#隐藏和取消隐藏评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆