Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>All files formatterNew to Visual Studio Code? Get it now.
All files formatter

All files formatter

Preview

The Pool

|
1 install
| (0) | Free
Format all files in the workspace, in a single command
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

All Files Formatter

Format all files in your workspace, the right way.

Features

Run the command AFF: Format all files to format all the files in the workspace, But ignore the same files as your gitignore file.

It is really simple:, just install the extension, run the command, confirm, and thats it

Check this out:

step 1

Hit ctrl + shift + p to open the command palette, and search for format all files, you'll see command above

step1

step 2

A pop-up window will show up, asking you to confirm the action. If you don't have a default formatter, the extension will ask you to choose/install one. step2

Note: You still need to have a formatter for each type of file you want to format, as Prettier for js/ts

step 3

The extension will automatically open, format, and close all the files for you, ignoring the same files in your .gitignore file.

step3

Extension Settings

This extension contributes the following settings:

Automatically close files: Should we close each file after it is formatted?
ignore pattern: Add more ignore patters so those files also get ignored.
Include Gitignore: Check the .gitignore file to ignore the same files as git does.
Include pattern: Add more ignore patters so those files get included.

Known Issues

Please check the github repo

Release Notes

Please see changelog for notes

Special thanks to

MindWords For the awesome icon for this extension

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