StyleFix provides a GUI interface to fix StyleCop violation.

How it is done?
  • It runs StyleCop on the source files and stores the line number and type of violation.
  • It then goes to the source files on those line and fixes the problem using string replacement, regular expression etc.
  • It then runs NArrange Code Formatter to remove many StyleCop violations
  • It finally runs AStyle Code Beautifier to remove many more StyleCop violations

The image below shows the interface where you can selectively choose which files should be included in the StyleFix.

Option for selecting files

More Information on this is available on the blog: http://blog.officeclip.com/2009/02/stylefix-how-to-fix-stylecop-violations

If you want to provide some Development or QA help on this tool, please leave a message.

Note: This program is currently in beta. Please keep backups of all your code before applying this program.

Last edited Apr 10, 2011 at 5:30 AM by jojobar, version 20