Skip to main content

Editor Integration

Running CSharpier on save is recommended. It will speed up your development time. All of the official extensions support it.

Note It is important to use CSharpier as a local dotnet tool to ensure files are formatted consistently across team members and environments.

Visual Studio

Use the official 2022 extension
Use the official 2019 extension

They can both be installed from within the VisualStudio Manage Extensions dialog.

Visual Studio Code

Use the official extension

It can be installed via the Extensions sidebar. It is called "CSharpier - Code Formatter"

Rider

Use the official plugin

It can be installed via the Plugins dialog.

Neovim

Use conform.nvim or Use neoformat

Emacs

Use format-all