StyleCop v4.7.1 Release Notes

Release Date: 2015-11-19 // 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:

    • ๐Ÿ‘Œ Supports loading custom StyleCop addins (such as StyleCop+). Specify the path to load in the options page. (#18)
    • ๐Ÿ’… Automatically disable analysis if the DotNetAnalyzers/StyleCopAnalyzers package is referenced in Visual Studio 2015 (#18)
    • ๐Ÿ’… Code Cleanup would not use settings when adjusting file header (#14)
    • ๐Ÿ’… Code Cleanup has a new setting to not create XML doc stubs, as this is something that is better done by a developer (#15)
    • ๐Ÿ’… StyleCop issues now grouped under "StyleCop" in Inspection Results (#16)
    • ๐Ÿ›  Fix duplication of constructor summary text in XML docs when running Code Cleanup (#17)

    ๐Ÿš€ Release notes for 4.7.0

    ๐Ÿ’… 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 performance work. 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.