Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Code Formatter 1.0.0-alpha6

Pre-release
Pre-release
Compare
Choose a tag to compare
@Priya91 Priya91 released this 29 Jan 19:46

This is the most recent release of the CodeFormatter which enforces the majority of .NET Foundation coding guidelines.

  • Has the updated .NET license headers
  • Has new features with commandline:
CodeFormatter [/file:<filename>] [/lang:<language>] [/c:<config>[,<config>...]>]
    [/copyright:<file> | /nocopyright] [/tables] [/nounicode] 
    [/rule(+|-):rule1,rule2,...]  [/verbose]
    <project, solution or response file>
    /file        - Only apply changes to files with specified name
    /lang        - Specifies the language to use when a responsefile is
                   specified. i.e. 'C#', 'Visual Basic', ... (default: 'C#')
    /c           - Additional preprocessor configurations the formatter
                   should run under.
    /copyright   - Specifies file containing copyright header.
                   Use ConvertTests to convert MSTest tests to xUnit.
    /nocopyright - Do not update the copyright message.
    /tables      - Let tables opt out of formatting by defining
                   DOTNET_FORMATTER
    /nounicode   - Do not convert unicode strings to escape sequences
    /rule(+|-)   - Enable (default) or disable the specified rule
    /rules       - List the available rules
    /verbose     - Verbose output