question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request - disable Deno extension in Node.js projects

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:10
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rjkz808commented, 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.

0reactions
lucacasonatocommented, Feb 19, 2021

Extension is disabled by default now. For other node compat issues refer to https://github.com/denoland/vscode_deno/issues/314

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Visual Studio Code | Manual - Deno
When a project is enabled, the extension will get information directly from the installed Deno CLI. The extension will also mute the built-in...
Read more >
After installing Deno, linting issues arise in VSCode Nodejs ...
You just need to disable deno extension in your VSCode when working with Node.js projects. After disabling try to close VSCode and open...
Read more >
Deno - Visual Studio Marketplace
Extension for Visual Studio Code - A language server client for Deno.
Read more >
Getting Started - ESBuild
It has basically the same API as esbuild's npm package with one addition: you need to call stop() when you're done because unlike...
Read more >
How we converted our Node.js library to Deno (using Deno)
js can only run JavaScript code. Module resolution: By default, Node.js imports modules in the CommonJS format and expects require/module.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found