Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Format All Files
Format All Files

Format All Files

munyabe

|
40,447 installs
| (32) | Free
This is a visual studio extension to format all files and execute other command in a solution or project.
Download

Format All Files is a visual studio extension. It formats every files in your solution or project, and executes any other command. (e.g. "Format XAML" at XAML Styler)

Features

Adds a right-click menu to any item on Solution Explorer that let's you format all files.

  • Executes "Format Document", "Remove and Sort Usings" and any other command.
  • Works on entire solution, projects, folders or files.
  • Searches files by wildcards.
    (? = any character, * =  any number of characters, ; = a delimiter)

Usage

Click the context (or right-click) menu "Format All Files" on Solution Explorer, you can format all files.

The progress is shown in the status bar.

The results are shown in Output window. If this window is not already visible, go to "View" -> "Output" menu.

Options

You can change the options in "Tools" -> "Options" -> "Format All Files".

If you want to format XAML files, install XAML Styler and set the option "Other Execution Command" to "EditorContextMenus.XAMLEditor.FormatXAML".

Change Log

  • v1.4
    • Support Visual Studio 2019.
  • v1.3
    • Fix a bug that it is not working with VS2015 or earlier.
  • v1.2
    • Support Visual Studio 2017.
    • (Support Visual Studio 2010 has ended. For the 2010 version, please use the v1.1 in Github.)
  • v1.1
    • Added a context menu to specify a folder or file.
    • Supported the multi item selection on Solution Explorer.
  • v1.0
    • Initial release !

Credits

Thanks to resources for free:

Icons by icooon-mono.
This extension is inspired by Format Document.

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