CodeRush 代码清理格式化
我有几门课一团糟。 我希望 CodeRush 能够组织代码,以便对公共、私有等方法进行分组。我还希望 CodeRush 将我的公共方法组织到一个区域中,并将字段和属性放入区域中。
我该怎么做?
I have a few classes that are a complete mess.
I would like for CodeRush to organize the code so that public, private, etc. methods become grouped. I would also like for CodeRush to organize my public methods into a region, and put fields and properties into regions.
How can I do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 CR_ClassCleaner 插件 -
http://code.google.com/p/dxcorecommunityplugins /wiki/CR_ClassCleaner
Have a look at the CR_ClassCleaner plugin -
http://code.google.com/p/dxcorecommunityplugins/wiki/CR_ClassCleaner
除了 CR_ClassCleaner 插件之外,CR_MemberOrganizer 插件作为开源功能在 CodeRush 中提供。
In addition to the CR_ClassCleaner plug-in, there's a lighter and simplified version of such functionality in the CR_MemberOrganizer plug-in shipped in CodeRush as an open source feature.