-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin does not respect user tab settings #81
Comments
I haven't looked at the source for this, but I presume it's using |
It seems to be overriding |
Also, for ticket completeness, I have uninstalled all vscode plugins, and its fine, install https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno or https://marketplace.visualstudio.com/items?itemName=justjavac.vscode-deno and problem occurs. |
I decided to dig into this just now. You have control over which formatter is used for different filetypes in VS Code. There is information about how to customize this behavior and other language-specific behaviors at the VS Code docs > Get Started > Settings > Language specific editor settings. When editing your {
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[javascriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
} If you use those settings, VS Code will use the built-in formatter instead of the one provided by the Deno extension, when editing If you are uncomfortable editing your |
Marvellous, Thank you for these suggestions and the link to the docs. They are super informative. I've fixed my issues using the default formatter value |
The extension does not have auto format on save anymore now. The tab size is determined by |
Not to start a tabbing war, but I have explicitly set these settings, and they are ignored when formatting.
The text was updated successfully, but these errors were encountered: