Visual Studio的评论reflower [英] Comment reflower for Visual Studio

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

问题描述

有一个内置的命令或工具,可以回流在Visual Studio中的C#注释?



有时,一段代码需要几行注释,大量编辑,您必须手动在适当的位置插入换行符,以使它不会流过编辑器窗口的右边缘。



多年使用Visual Studio后,我仍然错过了Mq的能力(c-fill-



编辑:Agent Smith插件不会在方法体中重排注释。 >解决方案

如果您使用的是ReSharper,则可以免费使用 Agent Smith 可以回流评论的插件。


Is there a built-in command or tool that can reflow C# comments in Visual Studio?

Sometimes, a section of code requires several lines of comments, and after extensive editing you have to manually insert the line breaks in the appropriately places so that it does not flow past the right edge of your editor window. I'd like to be able to do this with a single key command.

After many years of using Visual Studio I still miss the ability to M-q (c-fill-paragraph) in emacs.

Edit: The Agent Smith plugin does not reflow comments in the method body.

解决方案

If you are using ReSharper, there is the free Agent Smith plugin that can reflow comments.

这篇关于Visual Studio的评论reflower的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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