Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Format document on Save
Format document on Save

Format document on Save

mynkow

|
11,705 installs
| (2) | Free
Enables auto formatting of the code when you save a file. Visual Studio supports auto formatting of the code with the CTRL+E,D or CTRL+E,F key shortcuts but with this extension the VS command 'Format
Download

Enables auto formatting of the code when you save a file. Visual Studio supports auto formatting of the code with the CTRL+E,D or CTRL+E,F key shortcuts but with this extension the command 'Format Document' is executed on Save.

Note: I highly recommend you to use EditorConfig. Just create .editorconfig file and install a plugin for your code editor. Here is one for Visual Studio.

You can find the source here: https://github.com/Elders/VSE-FormatDocumentOnSave

Here is a link if you want to know how I built that extension: [https://mynkow.github.io/Visual-Studio-Extensions-Format-document-on-Save/)

Happy coding!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft