Is it possible to set different default formatters for different languages in VSCode? I want VSCode to autodetect the language used in current file and use the appropriate editor. How can I achieve this?
You can press Ctrl + , keys to access the settings in VS Code, and then type in @lang:language-name Default Formatter (e.g @lang:html Default Formatter) or just scroll down to where it says Editor: Default Formatter and then choose the formatter for that language.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With