Open tjx666 opened 1 year ago
@sandy081 I thnk this is a bug not a feature request
Observed this bug as well. It's very annoying when the workspace sets a different formatter and then that is not picked up
this seems also more complicated... when I do a single "[typescript]"
next to the multi-language section it works
workspace settings:
{
"[javascript][javascriptreact][typescript][typescriptreact][vue][json][jsonc][html][css][less][markdown][xml][yaml][svg]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// with this it works, if something else is set for `[typescript]` in the user settings
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
so it seems order is one-language section in workspace
> one-language section in user settings
> multi-language section in workspace
@sandy081 this is indeed a bug, not a feature request, AFAICT
I also described the bug in #188679
Tripped across this as well. What an annoying bug!
reproduce:
esbenp.prettier-vscode
.vscode/settings.json