You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been having issues using VSCode with multiple different TypeScript formatters across several different codebases.
I've had to update @lang:typescriptreact @id:editor.defaultFormatter about 3 times in the past 3 or so days.
One codebase uses Prettier ESlint, so I manually update the default formatter for that codebase so that VSCode works well with it, but another uses biome, so I update the default formatter again, and yet another codebase uses just Pretter, without eslint, so I update the default formatter a 3rd time.
Is there a way to make VSCode automatically use the project formatter as the default? If not, I'd like to request that we add that as a feature.
I tried setting Editor: Default Formatter to None at the language level, and the User level, with no success.
I guess I could manually create a .vscode/settings.json file for every repository I work in, but that's kind of noisy.
The text was updated successfully, but these errors were encountered:
I guess I could manually create a .vscode/settings.json file for every repository I work in, but that's kind of noisy.
That's how you need to do it, ideally combined with workspace recommended extensions. We don't support workspace-scoped configuration outside of the workspace
I've been having issues using VSCode with multiple different TypeScript formatters across several different codebases.
I've had to update
@lang:typescriptreact @id:editor.defaultFormatter
about 3 times in the past 3 or so days.One codebase uses
Prettier ESlint
, so I manually update the default formatter for that codebase so that VSCode works well with it, but another usesbiome
, so I update the default formatter again, and yet another codebase uses justPretter
, withouteslint
, so I update the default formatter a 3rd time.Is there a way to make VSCode automatically use the project formatter as the default? If not, I'd like to request that we add that as a feature.
I tried setting
Editor: Default Formatter
toNone
at the language level, and theUser
level, with no success.I guess I could manually create a
.vscode/settings.json
file for every repository I work in, but that's kind of noisy.The text was updated successfully, but these errors were encountered: