VSCode allows users to set language specific editor settings, by doing something like this:
"[scss]": { "editor.formatOnSave": true } But this is not enough, because: what if I need to set the same rules for CSS? - don't you make me duplicate the code...
what I tried, with no success:
"[scss,css]": { "editor.formatOnSave": true } "[scss|css]": { "editor.formatOnSave": true } "[*.{scss,css}]": { "editor.formatOnSave": true } "[scss][css]": { "editor.formatOnSave": true } 31 Answer
This is now supported in 1.63
"[javascript][typescript]": { "editor.maxTokenizationLineLength": 2500 }