•        4733

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.

StyleCop provides value by enforcing a common set of style rules for C# code. StyleCop will continue to ship with a single, consistent set of rules, with minimal rule configuration allowed. Developers can implement their own rules if they so choose. StyleCop will ship with the ability to seamlessly integrate with Visual Studio, MSBuild, TFS, etc. Developers are free to implement custom code to integrate StyleCop into other development and tooling environments, as described in the SDK documentation.



Related Projects

AccCheckerExtensionForVS - Detect and resolve common accessibility issues before you ship your code with a free Visual Studio extension

The Tenon HTML Accessibility Checker makes it easier for Visual Studio developers to detect and resolve common accessibility issues with their HTML-based user interfaces. It takes more than static code analysis to create great experiences for people with permanent or situational disabilities. However, there is no reason to ship code with accessibility issues that can be detected automatically. This checker is one of many tools designed to help developers ship better code.We published this source under an MIT liscense so that you can leverage any of these patterns.

SPDisposeCheck Static Code Analysis Ruleset for Visual Studio 2012

SPDisposeCheck Static Code Analysis Ruleset allows SharePoint 2010 developers to ensure SharePoint APIs are properly disposed using Visual Studio 2012.

NullAway - A tool to help eliminate NullPointerExceptions (NPEs) in your Java code.

NullAway is a tool to help eliminate NullPointerExceptions (NPEs) in your Java code. To use NullAway, first add @Nullable annotations in your code wherever a field, method parameter, or return value may be null. Given these annotations, NullAway performs a series of type-based, local checks to ensure that any pointer that gets dereferenced in your code cannot be null. NullAway is similar to the type-based nullability checking in the Kotlin and Swift languages, and the Checker Framework and Eradicate null checkers for Java.NullAway is fast. It is built as a plugin to Error Prone and can run on every single build of your code. In our measurements, the build-time overhead of running NullAway is usually less than 10%. NullAway is also practical: it does not prevent all possible NPEs in your code, but it catches most of the NPEs we have observed in production while imposing a reasonable annotation burden, giving a great "bang for your buck." At Uber, we combine NullAway with RAVE to obtain thorough protection against NPEs in our Android apps.


Sweeper is a Visual Studio 2008 & 2010 add-in for C# that takes care of many of the trivial code-formatting issues that developers run into - particularly if they use StyleCop. It is developed in C#.


AnkhSVN is a Subversion Source Control Provider for Microsoft Visual Studio 2005, 2008 and 2010. AnkhSVN provides source code management support to all project types supported by Visual Studio and allows you to perform the most common version control operations directly from inside the Microsoft Visual Studio IDE.


SharpSort is a plugin for VS that makes it easier for Visual Studio 2008 developers to maintain their code clean and readable at all times by grouping and sorting source code members. You can also define your own custom code layout or use predefined ones.


The VisualDDK is a plugin for Microsoft Visual Studio allowing debugging device drivers right from the IDE. Additionally, a simple Driver Project Wizard is provided.

vim-flake8 - Flake8 plugin for Vim

vim-flake8 is a Vim plugin that runs the currently open file through Flake8, a static syntax and style checker for Python source code. It supersedes both vim-pyflakes and vim-pep8.Flake8 is a wrapper around PyFlakes (static syntax checker), PEP8 (style checker) and Ned's MacCabe script (complexity checker).

Flow - A static type checker for JavaScript

Adds static typing to JavaScript to improve developer productivity and code quality.

Visual Studio 2008 Code Snippet Library C#

While developing other projects, I force myself to write code snippets for common scenarios such as creating public classes, static classes and even singletons. This library is simply my snippets file. Regulary updated! (at least once a week).

FxCop Integrator

FxCop Integrator allows to integrate stand-alone FxCop and Code Metrics PoewrTool into VS2010. You can analysis your source code on VS2010 Pro.

JSHint - A Static Code Analysis Tool for JavaScript

JSHint is a community-driven tool to detect errors in JavaScript code and enforce your team's coding conventions.

sbt-scapegoat - sbt plugin for scapegoat scala static analysis plugin

sbt-scapegoat is a plugin for SBT that integrates the scapegoat static code analysis library. Find out more about scapegoat at the scapegoat project page.sbt-scapegoat is an auto plugin. This means you need SBT 0.13.5 or higher. If you are using an earlier 0.13.x build, you should be able to upgrade to 0.13.5 without any issues.

ReviewPal - The Code Review Companion for .Net.

ReviewPal, the Code Review Companion for .Net. This is an Add-In / Extension for Visual Studio 2008 & Visual Studio 2010. The aim of the Add-In / Extension is to do a source code review within the Visual Studio IDE where code makes more sense and most readable.

StyleCop Compliant Visual Studio Project & Item Templates

StyleCop Compliant Visual Studio Project & Item Templates

scapegoat - Scala compiler plugin for static code analysis

Scapegoat is a Scala static code analyzer, what is more colloquially known as a code lint tool or linter. Scapegoat works in a similar vein to Java's FindBugs or checkstyle, or Scala's Scalastyle.A static code analyzer is a tool that flag suspicious language usage in code. This can include behavior likely to lead or bugs, non idiomatic usage of a language, or just code that doesn't conform to specified style guidelines.


Fixes defect identified by static code analysis tools like FxCop and StyleCop.

JSLint - The JavaScript Code Quality Tool

JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool. JSLint takes a JavaScript source and scans it. If it finds a problem, it returns a message describing the problem and an approximate location within the source. The problem is not necessarily a syntax error, although it often is. JSLint looks at some style conventions as well as structural problems. It does not prove that your program is correct.


This is a standalone version of the popular Visual Studio plugin 'CopySourceAsHtml'. ConvertSourceToHtml replaces RTF code in your clipboard by HTML code that you can paste in your website or blog.