Format on save

Enable editor.formatOnSave to format your code when you save it. No more worrying about checking in unformatted code.

Use the editor.formatOnSaveMode setting to control which lines in a file are formatted.