Jan Schreuder on .Net

.Net code samples, experiences, observations

View my professional profile on LinkedIn

Recent Posts

Tags

News

  • Inappropriate comments will be deleted at my discretion.

    The information and code samples in this weblog is provided "AS IS" without warranty of any kind, either expressed or implied, including but not limited to the merchantability and/or fitness for a particular purpose.

Community

Email Notifications

Tool suppliers

Tools

General

Microsoft

Favorite blogs

Archives

Version 4.3 of Microsoft StyleCop available

A new version of StyleCop was made available only a few days ago, so I downloaded it and installed it. One thing I had to correct after installation was the Settings.SourceAnalysis file. Because of the name change to StyleCop, the extension of the settings file was also changed. But after that, I was back in business. One of the first things you notice is that the results are now shown as warnings in the standard errors and warnings list. And there are more changes:

  • A separate help file is available that explains the rules and shows how violations can be solved
  • A number of bug have been fixed
  • New rules, including a rule to check if Using directives are sorted, in line with the Visual Studio 2008 Organize Usings functionality

Another announcement on the StyleCop Teamblog suggested that they will be releasing SDK documentation to allow you to add your own rules to the tool. This is of course interesting if you have additional rules on top of the ones already available.

I've been using the tool for some weeks now and I really like the consistency in code style which is now slowly emerging in my projects. Where I thought I was using a consistent style in my own code, I was pointed out by StyleCop that in fact I wasn't. But that's all changing now.

You can download the new version of StyleCop here.

Comments

Christopher Steen said:

Link Listing - August 21, 2008

# August 22, 2008 1:56 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Please add 1 and 1 and type the answer here: