Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Checkstyle for C#?

I'm looking to find something along the lines of Checkstyle for Visual Studio. I've recently started a new gig doing .NET work and realized that coding standards here are a bit lacking. While I'm still a young guy and far from the most experienced developer I'm trying to lead by example and get things going in the right direction.

I loved the ability to use Checkstyle with Eclipse and examine code before reviews so I'd like to do the same thing with Visual Studio. Anyone have any good suggestions?

Another thing I'd be somewhat interested in is a plug-in for SVN that disallows check-in until the main coding standards are met. I do not want people checking in busted code that's going to wind up in a code review.

Any suggestions at this point would be great.

like image 447
ist_lion Avatar asked Mar 11 '10 18:03

ist_lion


People also ask

Is checkstyle a coding standard?

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard.

Is checkstyle a Linter?

Checkstyle is one of the most popular linters available.

Is checkstyle open source?

Checkstyle is an open source tool that checks code against a configurable set of rules. In this tutorial, we're going to look at how to integrate Checkstyle into a Java project via Maven and by using IDE plugins.

What is checkstyle analysis?

Checkstyle is a static code analysis tool used in software development for checking if Java source code is compliant with specified coding rules. Checkstyle. Stable release. 8.45 / July 31, 2021. Repository.


1 Answers

Have you tried StyleCop?

  • http://code.msdn.microsoft.com/sourceanalysis

Note: This's been moved to https://github.com/StyleCop

like image 71
JaredPar Avatar answered Sep 30 '22 18:09

JaredPar