先上图,有图有真相:

开源VS2010扩展:BatchFormat

此扩展功能:

作用区域:解决方案、项目、文件夹 、文件等右击,看到相关菜单,进行相关操作。

功能:移除、排序using,格式化代码,及以上组合。

思想来源:

  1. Format Document
  2. Remove And Sort Using
  3. PowerCommands for Visual Studio 2010

放弃以上原因:

Format Document及Remove And Sort Using有问题,并不是所有情况下都能正常工作。后来发现PowerCommands工作的很好,但他把包括AssemblyInfo.cs .designer.cs Reference.cs在内的文件都统统格式化了,并且这哥们比较大,把菜单搞的很长,不爽,所以放弃。

今日主角闪亮全场:

BatchFormat
http://visualstudiogallery.msdn.microsoft.com/a7f75c34-82b4-4357-9c66-c18e32b9393e

也可以在 VS2010自带的扩展里搜索BatchFormat下载

此扩展开源,代码:http://code.google.com/p/yongfa365doc/source/browse/trunk/CSharp/VisualStudioExtensions/BatchFormat/BatchFormat/BatchFormatPackage.cs

特此鸣谢:明年我18

欢迎大家对此扩展进行 Star,发表自己的意见、建议。欢迎拍砖。

先上图,有图有真相:

开源VS2010扩展:BatchFormat

此扩展功能:

作用区域:解决方案、项目、文件夹 、文件等右击,看到相关菜单,进行相关操作。

功能:移除、排序using,格式化代码,及以上组合。

思想来源:

  1. Format Document
  2. Remove And Sort Using
  3. PowerCommands for Visual Studio 2010

放弃以上原因:

Format Document及Remove And Sort Using有问题,并不是所有情况下都能正常工作。后来发现PowerCommands工作的很好,但他把包括AssemblyInfo.cs .designer.cs Reference.cs在内的文件都统统格式化了,并且这哥们比较大,把菜单搞的很长,不爽,所以放弃。

今日主角闪亮全场:

BatchFormat
http://visualstudiogallery.msdn.microsoft.com/a7f75c34-82b4-4357-9c66-c18e32b9393e

也可以在 VS2010自带的扩展里搜索BatchFormat下载

此扩展开源,代码:http://code.google.com/p/yongfa365doc/source/browse/trunk/CSharp/VisualStudioExtensions/BatchFormat/BatchFormat/BatchFormatPackage.cs

特此鸣谢:明年我18

欢迎大家对此扩展进行 Star,发表自己的意见、建议。欢迎拍砖。

相关文章:

  • 2021-07-31
  • 2021-09-03
  • 2021-06-29
  • 2022-12-23
  • 2021-10-12
  • 2021-08-16
猜你喜欢
  • 2021-05-28
  • 2021-08-26
  • 2021-11-29
  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2021-05-23
相关资源
相似解决方案