visual-studio - Visual Studio 的评论重播

标签 visual-studio visual-studio-2012 visual-studio-2013 comments

是否有可以在 Visual Studio 中重排 C# 注释的内置命令或工具?

有时,一段代码需要多行注释,经过大量编辑后,您必须在适当的位置手动插入换行符,以免它超出编辑器窗口的右边缘。我希望能够使用单个键命令来完成此操作。

在使用 Visual Studio 多年后,我仍然怀念 emacs 中 M-q (c-fill-paragraph) 的能力。

编辑:Agent Smith 插件不会在方法主体中重排注释。

最佳答案

如果您使用 ReSharper,可以免费使用 Agent Smith可以重排评论的插件。

关于visual-studio - Visual Studio 的评论重播,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1837717/

相关文章:

c# - ASP.NET MVC 在自定义脚手架中显示创建的文件

windows - 尝试在 Visual Studio 2012 中添加对项目的引用, "no items found"

visual-studio-2013 - SQL Server CE 4 Clickonce部署VS2013

c++ - 如何在另一台计算机上使用我的项目

c++ - 在 Visual Studio C++ 中跳过 else 语句?

c++ - OpenCV 错误:断言失败 <scn == 3::scn == 4> 在未知函数中,

c++ - VS2013忽略杂注警告禁用

visual-studio - 单击“发布”时,"Microsoft Azure App Service"目标未出现在 Visual Studio 2015 中

visual-studio - InvalidOperationException : Stack empty

c# - 使用 Visual Studio 2012 平板电脑模拟器模拟无网络