Dragon Sam
Dragon Sam2y ago

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
No description
8 Replies
NeTT
NeTT2y ago
run the Deno: Initialize command in vscode I think that's what it's called forgor
Dragon Sam
Dragon SamOP2y ago
I will try it thanks I tried it this what I got
error: unrecognized subcommand 'Initialize'

Usage: deno [OPTIONS] [COMMAND]

For more information, try '--help'.
error: unrecognized subcommand 'Initialize'

Usage: deno [OPTIONS] [COMMAND]

For more information, try '--help'.
marvinh.
marvinh.2y ago
no in vscode, not in the terminal. The command in vscode was recently renamed from Deno: Initialize to Deno: Enable.
Dragon Sam
Dragon SamOP2y ago
I am not used to VS Code how do I open up that type bar at the top?
marvinh.
marvinh.2y ago
which editor are you using?
Dragon Sam
Dragon SamOP2y ago
I am using VS Code But I dont use it often
marvinh.
marvinh.2y ago
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-deno
Dragon Sam
Dragon SamOP2y ago
Thanks that worked your a life saver

Did you find this page helpful?