Automatically fix StyleCop violations #StyleCop violation check #Exclude string #Include string #StyleCop #String #Exclude
The StyleFix application was developed to be a GUI tool that will allow you to selectively exclude / include files for StyleCop violation checks. It also automatically fixes them.
It builds the project (using msbuild) in the background and then parses the output to get the line numbers and file names.
It then goes to the source file on those line and fixes the problem using string replacement, regular expression etc.
These are the current violations that can be automatically fixed. More are on the way! SA1000 - KeywordsMustBeSpacedCorrectly SA1001 - CommasMustBeSpaceCorrectly SA1003 - SymbolsMustBeSpaceCorrectly SA1005 - SingleLineCommentsMustBeginWithSingleSpace SA1009 - ClosingParenthesisMustBeSpacedCorrectly SA1010 - OpeningSquareBracketsMustBeSpacedCorrectly SA1025 - CodeMustNotContainMultipleWhitespaceInARow SA1027 - TabsMustNotBeUsed SA1101 - PrefixLocalCallsWithThis SA1121 - UseBuiltInTypeAlias SA1122 - UseStringEmptyForEmptyStrings SA1200 - UsingDirectivesMustBePlacedWithinNamespace SA1210 - UsingDirectivesMustBeOrderedAlphabeticallyByNamespace SA1500 - CurlyBracketsForMultiLineStatementsMustNotShareLine SA1501 - StatementMustNotBeOnASingleLine SA1505 - OpeningCurlyBracketsMustNotBeFollowedByBlankLine SA1506 - ElementDocumentationHeadersMustNotBeFollowedByBlankLine SA1507 - CodeMustNotContainMultipleBlankLinesInARow SA1508 - ClosingCurlyBracketsMustNotBePrecededByBlankLine SA1509 - OpeningCurlyBracketsMustNotBePrecededByBlankLine SA1510 - ChainedStatementBlocksMustNotBePrecededByBlankLine SA1512 - SingleLineCommentsMustNotBeFollowedByBlankLine SA1513 - ClosingCurlyBracketsMustNotBeFollowedByBlankLine SA1515 - SingleLineCommentsMustBePrecededByBlankLine SA1516 - ElementsMustBeSeparatedByBlankLine SA1633 - FileMustHaveHeader
System requirements
What's new in StyleFix 0.6 Beta:
- Bug Fixes
- Added more Stylecop violation fix. See the home page for the final list
StyleFix 0.6 Beta
add to watchlist add to download basket send us an update REPORT- runs on:
-
Windows 7
Windows Vista
Windows XP
Windows 2K - file size:
- 15 KB
- filename:
- stylefix0.6.zip
- main category:
- Programming
- developer:
- visit homepage
ShareX
Windows Sandbox Launcher
Microsoft Teams
calibre
7-Zip
Context Menu Manager
4k Video Downloader
Bitdefender Antivirus Free
IrfanView
Zoom Client
- Bitdefender Antivirus Free
- IrfanView
- Zoom Client
- ShareX
- Windows Sandbox Launcher
- Microsoft Teams
- calibre
- 7-Zip
- Context Menu Manager
- 4k Video Downloader