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.

[regression] deno enable/disable command palette entries removed

See original GitHub issue

There is no longer a VS Code command palette option to “Enable Deno” or to “Disable Deno” (it seems I must manually create the workspace settings file in every new workspace).

Screenshots

vscode-command-palette-deno

Versions

vscode: 1.48.2 deno: 1.3.2 extension: 2.0.16

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jsejcksncommented, Sep 5, 2020

can you also share your use case of the enable/disable in command palette

@calvinlauco The Deno extension is disabled by default. I agree that it should be disabled by default because of conflicts with all non-Deno environments.

For every new VS Code workspace which will use the extension, it must be enabled. These are the steps to manually enable the extension in a new workspace:

  1. Create a directory in the workspace root named .vscode.
  2. Create a file in the .vscode directory named settings.json.
  3. Add these contents to the file created in step 2:
{
  "deno.enable": true
}

If you only use a few workspaces, it is not a big deal to do that, but if you are frequently working in new Deno workspaces, it is not a scalable solution, and it’s much simpler to use the command palette like this:

  1. <kbd>shift</kbd> + <kbd>ctrl/cmd</kbd> + <kbd>p</kbd>
  2. <kbd>d</kbd><kbd>e</kbd><kbd>n</kbd><kbd>o</kbd><kbd> </kbd><kbd>e</kbd><kbd>n</kbd><kbd>Enter</kbd>

The same is true for disabling it in a workspace where it is enabled.

That is why I have labeled this issue as a regression—it removed an accessibility feature that’s never in the way, but it’s a huge help to anyone who used it.

0reactions
lucacasonatocommented, Feb 19, 2021

We have Deno: Initalize Workspace Configuration command in version 3.x. We won’t implement separate enable and disable commands.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Visual Studio Code | Manual
If you want to disable this feature, you can do so by unsetting the Deno > CodeLens: Test/ deno.codeLens.test setting. Using the debugger....
Read more >
@netlify/esbuild | Yarn - Package Manager
Fix a regression regarding super (#2158) ... Version 0.14.8 of esbuild enabled removal of duplicate function ... Enable esbuild's CLI with Deno (#1913)....
Read more >
VS Code extension: Hide commands from command palette
The following snippet illustrates how to hide a command registered as 'extension.myHiddenCommand': "contributes" ...
Read more >
sitemap-posts.xml
Date-Command---Brief-1.png 10.-Date-Command---Brief-1.png https://www.freecodecamp.org/news/how-to-create-a-static-blog-with-lume/ 2022-11-19T15:39:07.000Z ...
Read more >
sitemap.xml - Visual Studio Marketplace
itemName=lvjiaxuan.vscode-eslint-disable Weekly ... itemName=kylejreed.deno-import-npm Weekly ... itemName=fantasy.vscode-raycast-script-commands Weekly ...
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