ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Use StyleCop styles

Last modified: 18 September 2024

In C#, ReSharper can apply its code formatting and code syntax styles according to StyleCop rules. Below are several ways in which ReSharper supports StyleCop.

To apply StyleCop rules, ReSharper relies on its own features and settings, which do not always map directly onto StyleCop rules:

  • ReSharper supports most of StyleCop naming, maintainability, readability, and layout rules.

  • Some StyleCop rules may not be supported in a specific version of ReSharper. However we will try to support more rules in coming versions.