当前位置: 动力学知识库 > 问答 > 编程问答 >

c# - Do we have a tool for Cleaning the Code Name Conventions

问题描述:

im looking for the tool which takes the C# source code as input and does the processing based on the rules set like change all the method parameter to camel case or pascal case vice verse and gived output the modified source code.

网友答案:

take a look at resharper

it is not really meant for post-coding cleanup, so it might not be exactly what you need ..

but it helps you prevent having to do said clean-up by commenting on your coding as you are working


from the webiste:

ReSharper in a nutshell

ReSharper provides solution-wide error highlighting on the fly, instant solutions for found errors, over 30 advanced code refactorings, superior unit testing tools, handy navigation and search features, single-click code formatting and cleanup, automatic code generation and templates, and a lot more productivity features for C#, VB.NET, ASP.NET, XML, and XAML.

网友答案:

There is also StyleCop

StyleCop analyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project

分享给朋友:
您可能感兴趣的文章:
随机阅读: