Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

codeformatter

> 编程语言
Open source

Tool that uses Roslyn to automatically rewrite the source to follow our coding styles

1.2K stars0 likes1 views
WebsiteGitHub

About

Tool that uses Roslyn to automatically rewrite the source to follow our coding styles

CodeFormatter

NOTE: This repo is archived. The replacement is dotnet/format.

CodeFormatter is a tool that uses Roslyn to automatically rewrite the source to follow our coding styles, which are documented here.

Prerequisites

In order to build or run this tool you will need to have Microsoft Build Tools 2015 installed. This comes as a part of Visual Studio 2015.

Installation

Download binaries from GitHub Releases

Usage

In order get the usage, simply invoke the tool with no arguments:

$ .\CodeFormatter.exe
CodeFormatter  [] [/file:] [/nocopyright] [/c: [/copyright:file]
     - Rule types to use in addition to the default ones.
                   Use ConvertTests to convert MSTest tests to xUnit.
       - Only apply changes to files with specified name.
        - Additional preprocessor configurations the formatter
                   should run under.
      - Specifies file containing copyright header.

Contributing

We follow the same contribution process that corefx is using.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言