Update: StyleCop for ReSharper is now feature complete.
We're almost at the finish line - we’ve added 19 new fixes (both Quick-Fixes and Code Clean Up Modules in addition to the 92 already implemented) and fixed a whole slew of reported issues. Please try this version of the plug-in and tell us about any issues you find, or any new features you would like. As always we're more than happy to accept patches from the community; for this release many thanks go to digitaldrummerj for their patch. Pretty much all the work done this release was by Andy Reeves - so big thanks again to his powerhouse effort!
If you would like to see all the Quick-Fixes and Code Clean-Up Modules see the Overview of Currently Supported Fixes page.
The new release is available on the StyleCop for ReSharper CodePlex site.
This will be the final release before v1.0 at which point we will branch the code and focus on supporting ReSharper 4.5
Quick Fixes:
SA1102: QueryClauseMustFollowPreviousClause
SA1103: QueryClausesMustBeOnSeparateLinesOrAllOnOneLine
SA1104: QueryClauseMustBeginOnNewLineWhenPreviousClauseSpansMultipleLines
SA1105: QueryClausesSpanningMultipleLinesMustBeginOnOwnLine
SA1106: CodeMustNotContainEmptyStatements
SA1110: OpeningParenthesisMustBeOnDeclarationLine
SA1111: ClosingParenthesisMustBeOnLineOfOpeningParenthesis
SA1112: ClosingParenthesisMustBeOnLineOfOpeningParenthesis
SA1113: CommaMustBeOnSameLineAsPreviousParameter
SA1114: ParameterListMustFollowDeclaration
SA1115: ParameterMustFollowComma
SA1116: SplitParametersMustStartOnLineAfterDeclaration
SA1117: ParametersMustBeOnSameLineOrSeparateLines
SA1118: ParameterMustNotSpanMultipleLines
SA1120: CommentsMustContainText
Code Cleanup Modules:
SA1106: CodeMustNotContainEmptyStatements
SA1120: CommentsMustContainText
SA1121: UseBuiltInTypeAlias
SA1122: UseStringEmptyForEmptyStrings
Fixes:
Fixed: Should fix plugin version number issue
Fixed: Non-compiling tests.
Fixed: UpdateFileHeader default is now to replace the copyright element. This leaves the summary alone. CDATA sections in doc comments handled correctly. //// handled correctly.
Fixed: Bug where preprocessor directive was removing the wrong space. Updating some tests.
Fixed: Trim the created doc xml to remove whitespace at the end of an empty xml fragment.
Fixed: Change Build to Configuration Manager to prevent Test project from being built in "Release Mode"
Fixed: Improve our auto documentation to put descriptions of the parameters in.
Fixed: Ensure our Code Cleanup modules run after ReSharpers.
Fixed: Don't insert new lines at the beginning of code blocks.
Fixed: Code the Csharp code reformatter after we insert lines as we now run after the Std reformatter.
Fixed: Remove new lines that ReSharper inserted before [assembly] entries.
Fixed: Don't insert '.' inside <c> elements.
Fixed: Don't capitalise text inside <c> or <code> elements.
Fixed: Don't replace inheritdoc comments with empty comments.
Fixed: Don't replace a comment that has no summary but some other text in it with an empty comment.
Fixed: Removing the commonassemblyinfo.cs from the TestProject as we don't ship it.
Fixed: Remove empty old folder.
Updates:
Update: Documentation.
Update: Test data.
Update: Member access order in Settings File.
Update: Completed rules.
Update: Tracking of work completed.
Update: Remove tests that we've replaced with new ones.