vscode_deno icon indicating copy to clipboard operation
vscode_deno copied to clipboard

A way to disable deno for JavaScript

Open Mqxx opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

Unfortunately, it is currently only possible to activate Deno globally in the entire project. For example, if I am working on a project where I have both a client and a server, I would like to have Deno enabled only for my TypeScript backend. If Deno is also enabled for JavaScript then I have no access to for example the DOM or other "frontend only" APIs. Then when I want to work on my client, I get autocomplete only when I disable Deno.

Describe the solution you'd like

I would wish that you could turn Deno on/off specifically for certain languages. As an example like this:

{
    "deno.enable": true,
    "deno.unstable": true,
    "[javascript]": {
        "deno.enable": false <-- Grayed out (does not work)
    }
}

Mqxx avatar Jun 22 '23 06:06 Mqxx