Deno appears in the status bar regardless of whether workspace has "deno.enable": true
See original GitHub issueI don’t see any code that prevents this as right now the commands are registered and then it runs the code to start the language server.
We should register the commands, but only start the language server when the extension is enabled. If someone runs the “Deno: Restart Language Server” command and "deno.enable"
is not true, then we should tell them to run “Deno: Initialize Workspace”.
I checked my global configuration and "deno.enable"
was not true
.
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
deno.enablePaths conflict with build in typescript language ...
In this case (where "deno.enable" is false ) both deno and typescript language servers are active on deno_main.ts , which causes conflicts.
Read more >Using Visual Studio Code | Manual - Deno
In a given workspace (or workspace folder), sub-paths can be enabled for Deno, while code outside those paths will be not be enabled...
Read more >vscode-linter-xo - Visual Studio Marketplace
Could use with Deno, yarn pnp, or to have the xo library lint itself. By default xo is resolved from the workspace folders...
Read more >Developer setup for programming with 🦕 Deno
Deno extension for Visual Studio Code · 💡 for workspace users. If you use workspaces in VS Code, add this to your workspace...
Read more >Chapter 2 - CEHD | UMN
For example, if your temperature was elevated, the doctor may order more ... to affect more progress for each student (Deno & Fuchs,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, the challenge is that there is no great way to “detect” a Deno project. It would be guessing. We are working on a optional unified meta data file, and that would allow us to “magically” enable Deno for a project without having to do it explicitly.
@lucacasonato I just find it weird that I’m working on something unrelated to Deno, don’t have formatting enabled to use Deno, and don’t have
"deno.enable": true
in the repo and yet I see it running in the bottom right corner. I’d rather it not start at all in this scenario. Thinking about it more, I guess yeah if someone is using it for formatting then it’s less maintainable to have two ways of doing something. I think in that case to simplify things then we should start it, but not in my case here where it has no use.