Since yesterday it’s possible to use ReSharper 4.5 beta in combination with StyleCop by using StyleCop for ReSharper. This post gives you some information on all the three tools that I use to write source code in Visual Studio 2008 for business solutions faster and deliver better maintainable source code.
ReSharper is a productivity tool for Visual Studio. It provides solution-wide error highlighting on the fly, advanced code completion, superior unit testing tools, over 30 advanced code refactorings, multiple handy navigation and search utilities, 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. ReSharper fully integrates with Visual Studio to intelligently and powerfully extend the functionality that is native to Visual Studio. See also the complete ReSharper feature list.
ReShareper 4.5 is currently under development and available as a beta version. The biggest improvement is the performance improvement. The following picture illustrated the performance improvements, according to the ReSharper website:
Download ReSharper 4.5 beta from jetbrains.com.
Microsoft 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
For more information about Microsoft StyleCop see the StyleCop blog at http://blogs.msdn.com/sourceanalysis.
Download StyleCop from the MSDN Code Gallery StyleCop website.
StyleCop for ReSharper
StyleCop combines the power of ReSharper and StyleCop. It is a ReSharper plug-in that allows Microsoft StyleCop to be run as you type, generating real-time syntax highlighting of violations and automatic fixing of StyleCop issues during ReSharper Code CleanUp (silent mode):
StyleCop for ReSharper also contains a collection of Quick-Fixes:
and Code Clean-Up Modules to help you easily fix StyleCop code styling violations:
Download StyleCop 1.5 for ReSharper 4.5 beta from the CodePlex website.