Quick VS Code Tip – Format on Save

Rather than Formatting your code using Shift + Alt + F on Windows or Shift + Option + F on Mac, consider just formatting on save instead.


To turn this on go to:

  1. File
  2. Preferences
  3. Settings
  4. Search for formatOnSave and check the box



That’s it, hope it helps!

One thought on “Quick VS Code Tip – Format on Save

Leave a Reply to Prettier + Format On Save = Never worry about formatting JavaScript again | Scott Sauber Cancel reply