StyleCop v4.8.0 Release Notes

Release Date: 2015-11-23 // over 8 years ago
  • ๐Ÿš€ This is a release of the ReSharper plugin for StyleCop.

    ๐Ÿ’… Please install from the Extension Manager (ReSharper โ†’ Extension Manager), searching for "StyleCop by JetBrains". It does not require StyleCop for Visual Studio to be installed.

    ๐Ÿš€ This release is based on the same StyleCop parser and rules as the latest release (4.7.49) - there have been no changes to StyleCop itself, only the ReSharper plugin.

    ๐Ÿš€ In this release:

    • ๐Ÿ‘Œ Support for ReSharper 10

    ๐Ÿš€ This release also includes all of the fixes included in 4.7.1 for ReSharper 9.2.

    ๐Ÿ”‹ Features

    • ๐Ÿ’… No longer requires StyleCop for Visual Studio to be installed
    • Provides ReSharper 10 compatible settings, including a reset button
    • ๐Ÿ›  Fixes memory leaks and provides better performance throttling
    • ๐Ÿ‘Œ Support for StyleCop addins (e.g. StyleCop+)
    • ๐Ÿ‘ High DPI support in options page
    • Simplified Code Cleanup options

    ๐Ÿ’… Why are there two versions of StyleCop in the ReSharper Extension Manager?

    ๐Ÿ’… Unfortunately, there are two versions of StyleCop in the ReSharper Extension Manager.

    ๐ŸŽ This version, listed in the Extension Manager as "StyleCop by JetBrains" is maintained by me (@citizenmatt) on behalf of JetBrains. It contains a number of important fixes over the original codebase, notably memory leaks and improved performance throttling. It also no longer needs StyleCop to be installed in Visual Studio.

    ๐Ÿš€ The other version, "ReSharper.StyleCop" is maintained by a member of the community, and appears to be a simple recompile of the original codebase from CodePlex. Development stalled after the ReSharper 9.1 release, but restarted after the release of this "StyleCop by JetBrains" version.

    ๐ŸŽ I would very much like to combine these two versions into a single version, containing these important performances fixes, and I would love it to be maintained by the community. Unfortunately, the author of the other version still isn't responding to emails, and hasn't published the source for their version.

    ๐Ÿ’… Until that can happen, JetBrains recommends using this "StyleCop by JetBrains" version.

    ๐Ÿ‘ Visual Studio 2015 support

    Please Note: The StyleCop analyser uses a custom C# parser, rather than ReSharper's code model (hence the requirement for performance throttling). As such, it doesn't understand C# 6 features, and has no C# 6 specific rules. If you are using Visual Studio 2015, and C# 6, it is recommended that you use the DotNetAnalyzers/StyleCopAnalyzers project, which implements nearly all StyleCop rules as a set Roslyn code analysers. You can use this extension in conjunction with the analysers, by disabling the "run analysis" setting in the options page.