denoland / vscode_deno

Visual Studio Code plugin for Deno
https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno
MIT License
1.5k stars 146 forks source link

Formating documents with deno disabled #1135

Closed galiazzi closed 4 months ago

galiazzi commented 4 months ago

I was using deno extension to formatting files with this config in settings.json:

{
   "deno.enable": false,
    "[javascript][json][jsonc][markdown]": {
       "editor.defaultFormatter": "denoland.vscode-deno"
    }
}

This is not working any more, becose deno.enable is false.

I can't enable deno in some projects, some are in PHP, and a I use deno as a tool to formating and checking format on ci/cd.

Is this intentional?

There is a way to use formating tool without enable deno?

nayeemrmn commented 4 months ago

See https://github.com/denoland/vscode_deno/issues/1119#issuecomment-2179239834