run the command as below:
sudo snap install --classic vscode
I install the vscode successfully. But I can not launch the vscode.
I installed vscode with the same command, and it launched when I clicked on the Visual Studio Code icon in the Dash.
There are now two Visual Studio Code snap packages in Ubuntu: code and code-insiders. code-insiders is the newer snap package that was packaged by Microsoft. To start these packages from the terminal type:
snap run code-insiders
or
snap run code
For more information read my other answer about installing Visual Studio Code.
vscode
?
– karel
May 31 '17 at 02:13
"window.openFilesInNewWindow": "off"
– Timo
Nov 01 '20 at 06:55
It turns out the executable name is "code". So, all you need to do is enter:
code
If you navigate to a project folder and do:
code .
Then, it will open that folder as a "project".
snap version
? – popey May 26 '17 at 07:36