Welcome to EMC Consulting Blogs Sign in | Join | Help

Howard van Rooijen's EMC Consulting Blog (2004 - 2010)

This blog has now moved to http://howard.vanrooijen.co.uk/blog - please update your subscriptions if you wish to receive new content.

StyleCop for ReSharper Release Candidate

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.

Published 12 February 2009 12:07 by howard.vanrooijen

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Peck's Blog said:

Howard van Rooijen has just announced that the Release Candidate for StyleCop for ReSharper is now available.

February 12, 2009 14:22
 

Gunnar Peipman's ASP.NET blog said:

SharePoint SPSchedule.FromString(recurrenceValue) - syntax/format for recurrence value Using Javascript

February 19, 2009 17:49
 

Howard van Rooijen’s Blog : StyleCop for ReSharper Release Candidate « Head.SmackOnTable(); said:

February 20, 2009 11:22
 

Howard van Rooijen’s Blog : StyleCop for ReSharper Release Candidate « Head.SmackOnTable(); said:

February 20, 2009 15:52
 

Howard van Rooijen’s Blog : StyleCop for ReSharper Release Candidate « Head.SmackOnTable(); said:

February 26, 2009 16:07

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

News

This blog has now moved - please visit http://howard.vanrooijen.co.uk/blog for new content!
Add to Live.com
Powered by Community Server (Personal Edition), by Telligent Systems