How to exclude file extensions and languages from “format on save” in VSCode?
You can use language specific settings to enable it for a specific language only, e.g. JavaScript: “[javascript]”: { “editor.formatOnSave”: true } To disable it for a specific language, you could switch the global default to true and combine it with a language-specific false: “editor.formatOnSave”: true “[javascript]”: { “editor.formatOnSave”: false } Note that language specific settings … Read more