Glam Prestige Journal

Bright entertainment trends with youth appeal.

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
}
3

1 Answer

This is now supported in 1.63

"[javascript][typescript]": { "editor.maxTokenizationLineLength": 2500
}

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy