Skip to content
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

VS Code doesn't use the deno fmt configuration from deno.jsonc #27999

Open
dmint789 opened this issue Feb 6, 2025 · 0 comments
Open

VS Code doesn't use the deno fmt configuration from deno.jsonc #27999

dmint789 opened this issue Feb 6, 2025 · 0 comments

Comments

@dmint789
Copy link

dmint789 commented Feb 6, 2025

Version: Deno 2.1.9

I'm trying to use the Deno formatter in VS Code, but it's not using the configuration I've set up. I do have Deno set as my default formatter, and I have format on save enabled and working as expected (minus the config thing).

This branch has a reproducible example. See the fmt section in the root deno.jsonc file:

{
  "fmt": {
    "include": ["**/*.ts", "**/*.tsx"],
    "exclude": ["**/*.d.ts"],
    "lineWidth": 120
  }
}

Despite this, it's using 80 as the maximum line width.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant