Vscode_deno: Turn on Deno VSCode for Certain File Pattern

Created on 28 Nov 2020  路  3Comments  路  Source: denoland/vscode_deno

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

Some projects use denoify to convert NPM packages to Deno modules.

Describe the solution you'd like

It would be great if it was possible to enable the Deno VSCode thing for files that match a certain pattern or something so I don't get a ton of Typescript errors when importing with a .ts file extension with modules ending in .deno.ts.

Most helpful comment

This is currently not possible due to limitations in VS Code typescript server. See https://github.com/denoland/vscode_deno/pull/196.

It might be possible in the future once we use our own deno lsp. See https://github.com/denoland/deno/pull/8515.

All 3 comments

This is currently not possible due to limitations in VS Code typescript server. See https://github.com/denoland/vscode_deno/pull/196.

It might be possible in the future once we use our own deno lsp. See https://github.com/denoland/deno/pull/8515.

Is this something this extension can do on its own or does it also need support from the (built-in) TS/JS language server of VSCode?

I'm trying the Canary version of this extension (v3) that utilizes deno lsp already but there are still a lot of errors in our monorepo that mixes Node.js and Deno projects.

Was this page helpful?
0 / 5 - 0 ratings