在Visual Studio中,有没有一种方法来换行只有评论? [英] In Visual Studio, is there a way to word-wrap ONLY comments?
问题描述
我已经看过,但看起来不像您可以将特定的格式化。 ,有一个加载项,它会自动将您的注释格式化为给定的宽度(作为一个侧面特性)。
这是 HyperAddIn - 其主要功能是允许您在注释中的代码中的其他地方创建超链接,例如:
//这个逻辑的另一半是代码:ComponentManager.Initialise()
pre>
安装HyperAddIn后,
代码:ComponentManager.Initialise()
变为可点击的链接。
我安装了它,它工作正常,但我必须承认,大部分时间我没有打开评论格式。
I've looked, but it doesn't look like you can apply specific formatting to just comments.
解决方案Well, there is an Add-In which will automatically format your comments to a given width (as a side feature).
It is HyperAddIn - the main feature of which is allowing you to create 'hyperlinks' to other places in your code within comments, like this:
// The other half of this logic is in code:ComponentManager.Initialise()
With HyperAddIn installed, the
code:ComponentManager.Initialise()
becomes a clickable link.I have it installed, it works OK, but I must admit that most of the time I don't have the comment formatting switched on.
这篇关于在Visual Studio中,有没有一种方法来换行只有评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!