Use different defaults for specific file types.
Section: Terminal and Language Overrides
Per-language formatter override
json
json
{
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[python]": {
"editor.formatOnSave": true
}
}Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Terminal and Language Overrides