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.
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"
Use the official plugin
It can be installed via the Plugins dialog.