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)
๐ 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.