-
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
useTabs: true
not respected when formatting via vscode deno extension
#1140
Comments
useTabs
useTabs: true
not respected when formatting via vscode deno extension
The vscode extension prioritises the editor indent settings selected in the status bar as per another request denoland/deno#23257. You have to change it to tabs there. |
I ran into the same problem as @scarf005 in Neovim. The editor settings taking priority over the Deno settings feels backwards; this would be a source of conflict in any project where multiple devs have different default editor settings. Isn't the point of the Deno formatting settings to ensure consistency in the project? |
@nayeemrmn could you please reopen this issue?
like what @heygarrett said, this behavior is counterintuitive to majority of users (project configuration must have higher precedence over editor configuration) and make working on multiple deno project with different fmt configuration harder. |
Describe the bug
when using deno vscode extension, it converts tabs to spaces despite
useTabs
is true indeno.jsonc
.To Reproduce
Format Document With... > Deno
useTabs: true
is not respected in Deno VSCode extensiondeno fmt
useTabs: true
is respected in CLIExpected behavior
Screenshots
Versions
vscode: 1.92.0 deno: deno 1.45.5+18b9b43 (canary, x86_64-unknown-linux-gnu) extension: 3.38.0
The text was updated successfully, but these errors were encountered: