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

Feature request - disable Deno extension in Node.js projects #50

Closed
rjkz808 opened this issue May 20, 2020 · 9 comments
Closed

Feature request - disable Deno extension in Node.js projects #50

rjkz808 opened this issue May 20, 2020 · 9 comments
Labels
enhancement New feature or request

Comments

@rjkz808
Copy link

rjkz808 commented May 20, 2020

As I understand it is only possible to disable Deno extension manually with "deno.enable": false in vscode settings.json. But I think it can be more comfortable if extension would automatically being disabled in projects that have package.json file or node_modules folder inside.

@wk989898
Copy link

when i disable deno ,typescript will check out my code continue。i always get Parameter '*' implicitly has an 'any' type.. is other setting to be set ?

@justjavac
Copy link
Contributor

#7

@BobFrankston
Copy link

Until I Deno can coexist with Node projects in different instances of VSC running at the same time I can't use this extension. So I strongly support per-project use of Deno.

@rjkz808
Copy link
Author

rjkz808 commented May 23, 2020

@justjavac this prompt does the trick, but there are still some problems with formatting (see #57)

@BobFrankston
Copy link

The settings seem to be global -- how do I do it per project?

@rjkz808
Copy link
Author

rjkz808 commented May 23, 2020

@BobFrankston you can create .vscode folder inside your project and also a settings.json file inside of it. Then you can insert this configuration snippet in settings.json file:

{
  "deno.enable": false
}

In VSCode .vscode/settings.json stands for local IDE settings to apply in specific folder.

@BobFrankston
Copy link

THanks. that makes it more useful

@garysb
Copy link

garysb commented Jun 7, 2020

For others looking through this, please also refer to #70, #75 as all of these are related.

@bartlomieju bartlomieju added the enhancement New feature or request label Aug 4, 2020
@lucacasonato
Copy link
Member

Extension is disabled by default now. For other node compat issues refer to #314

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

Successfully merging a pull request may close this issue.

7 participants