Reputation: 230406
I'm starting to work on an existing un-beautified project, and I have reformat-on-save in my IDE, so every 1-line edit turns into a whole reformatting of the file. Instead I'd like to reformat all the files in the project.
What's the easiest way to do that with VS Code?
Upvotes: 4
Views: 6117
Reputation: 34188
Try the vscode-formatall extension. It adds a Do Format
command that reformats all files specified by the pattern in the formatall.search.include
setting.
Upvotes: 6