vscode-deno | Visual Studio Code Deno extension
kandi X-RAY | vscode-deno Summary
kandi X-RAY | vscode-deno Summary
The project is no longer maintained. move to official extension.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode-deno
vscode-deno Key Features
vscode-deno Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-deno
QUESTION
I'm trying to configure a monorepo with a back (or "api") folder that uses Deno and a front (or "webapp") folder that is a react app (or actually, any framework, configured with Vite).
So the project actually mixes Deno and Node (if it's a bad idea, you can stop me right now). I'm might also consider using the Deno Linter and Formatter for the whole project.
The file structure would look something like that:
...ANSWER
Answered 2022-Feb-08 at 20:36You are going to run into issues with this setup. See these related GitHub issues 1, 2.
Instead, use Deno's LSP in one workspace (your backend) and the vanilla TS LSP in the other workspace (your frontend), using exclusive VS Code settings files in each. (If you do repo top-level scripting with Deno, then it's fine to duplicate that VS Code config for the top-level, too.)
Then, open a separate VS Code window for each workspace in your monorepo so that they can use their own LSPs without conflict.
QUESTION
I am using the vscode-deno extension and eventhough I turned on deno.enable
, deno.lint
and deno.unstable
in my vscode settings, it does not format my code on save, which I suppose is the expected behavior.
I instead used the RunOnSave extension to hack my way into running a deno fmt
on file save, but I was wondering if there was a way to do that with the Deno extension alone?
My .vscode/settings.json
:
ANSWER
Answered 2021-Feb-15 at 15:00Found it, I have to turn on formatting on save and specifying the Deno extension as the default formatter
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vscode-deno
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page