Cant find name 'Deno'
I want to use Deno in my type script program but when I try to use Deno it says "Cant find name 'Deno' I just installed it then restarted my PC and added the Deno extention to my VS Code can any one help me
8 Replies
run the
Deno: Initialize
command in vscode
I think that's what it's called
forgorI will try it thanks
I tried it this what I got
no in vscode, not in the terminal. The command in vscode was recently renamed from
Deno: Initialize
to Deno: Enable
.I am not used to VS Code how do I open up that type bar at the top?
which editor are you using?
I am using VS Code
But I dont use it often
oh apologies, I misread your previous message. You can get the command bar to show up by pressing
Ctrl+Shift+P
on Windows/Linux or Cmd+Shift+P
on macOS. The prerequesite is that you have the Deno extension already installed. It's the thing that provides the command. If you haven't installed it, you can install it from the official vscode extension store https://marketplace.visualstudio.com/items?itemName=denoland.vscode-denoThanks that worked your a life saver