Im learning to use hyper terminal for my web development. I need to open a file directly from CLI using VSCode. For opening it using notepad++ i can open it by writing
start Notepad++ filename.ext
But i want to open it with Visual studio code.For which i wrote
start Visual studio Code filename.ext
The name of vscode is shown as Visual studio Code in apps. Since it has multiple strings im getting error. how do i bind the name of application together. Incase if i want to open through atom i write,it works fine.
start Atom filename.ext
How do i make it work.
I believe to open Visual studio code through the terminal you need to call it as 'code', so in your case it would be "start code filename.ext". Be advised I am working in linux, it may be slightly different in windows. You can also look at the properties of vscode and it should say there how to open it.