How to exclude file extensions and languages from “format on save” in VSCode?

Currently in VSCode settings you can configure format on save as following:

"editor.formatOnSave": true

I want to exclude some file extensions, for example only format JavaScript but not HTML files.

6 Answers
6

Leave a Comment