4

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?

1 Answer 1

6

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.