VSCode settings:
"[javascript]": {
"prettier.singleQuote": true
}
This is not works.
Or If we could use overrides, it would be great.
"prettier.overrides": [
{
"files": [
"*.js"
],
"options": {
"singleQuote": true
}
}
]
VSCode language scope settings are not supported. Only some VSCode specific settings can be put in those.
You can have a prettier config file with settings specific to languages.
I would like to use VSCode language scope settings. Do you plan to support this in the future?
Once vscode supports it, certainly. We could do it currently, but it's really messy.
I understand. Thank you!
Has this received any updates? are we still not able to use language scoped settings?
Subscribe to https://github.com/Microsoft/vscode/issues/26707 for VSCode updates.
@CiGit's solution to this issue works perfectly and is detailed here: https://github.com/prettier/prettier-vscode/issues/242#issuecomment-336473702
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Or If we could use
overrides, it would be great.