madskristensen / CodeCleanupOnSave

Other
62 stars 7 forks source link

Code Cleanup On Save

Build status

Automatically run one of the Code Clean profiles when saving the document. This ensures your code is always formatted correctly and follows your coding style conventions.

Download the extension at the Visual Studio Marketplace or try the CI build.


Code Cleanup is a new feature of Visual Studio 2019 that will automatically clean up your code file to make sure it is formatted correctly and that your coding style preferences are applied.

This extension will perform the Code Cleanup automatically when the file is being saved.

Configure Code Cleanup profiles

At the bottom of the C# editor, click the Configure Code Cleanup.

Code Cleanup Menu

By default, Profile 1 is executed on save by this extension.

Options

The options page allows you to chose between which profile to run automatically on save.

Options

License

Apache 2.0