How to launch the vscode after it has been installed through snap?
run the command as below:
sudo snap install --classic vscode
I install the vscode successfully. But I can not launch the vscode.
snap
add a comment |
run the command as below:
sudo snap install --classic vscode
I install the vscode successfully. But I can not launch the vscode.
snap
1
What Linux distribution and version are you using? What is the output ofsnap version
?
– popey
May 26 '17 at 7:36
I can find the vscode after restart the computer.
– wlos
May 31 '17 at 12:40
@wlos Thanks. I had this exact same problem. I did not have to restart. I could simply logout and log back in.
– John
Mar 31 '18 at 10:13
add a comment |
run the command as below:
sudo snap install --classic vscode
I install the vscode successfully. But I can not launch the vscode.
snap
run the command as below:
sudo snap install --classic vscode
I install the vscode successfully. But I can not launch the vscode.
snap
snap
asked May 26 '17 at 6:24
wloswlos
62
62
1
What Linux distribution and version are you using? What is the output ofsnap version
?
– popey
May 26 '17 at 7:36
I can find the vscode after restart the computer.
– wlos
May 31 '17 at 12:40
@wlos Thanks. I had this exact same problem. I did not have to restart. I could simply logout and log back in.
– John
Mar 31 '18 at 10:13
add a comment |
1
What Linux distribution and version are you using? What is the output ofsnap version
?
– popey
May 26 '17 at 7:36
I can find the vscode after restart the computer.
– wlos
May 31 '17 at 12:40
@wlos Thanks. I had this exact same problem. I did not have to restart. I could simply logout and log back in.
– John
Mar 31 '18 at 10:13
1
1
What Linux distribution and version are you using? What is the output of
snap version
?– popey
May 26 '17 at 7:36
What Linux distribution and version are you using? What is the output of
snap version
?– popey
May 26 '17 at 7:36
I can find the vscode after restart the computer.
– wlos
May 31 '17 at 12:40
I can find the vscode after restart the computer.
– wlos
May 31 '17 at 12:40
@wlos Thanks. I had this exact same problem. I did not have to restart. I could simply logout and log back in.
– John
Mar 31 '18 at 10:13
@wlos Thanks. I had this exact same problem. I did not have to restart. I could simply logout and log back in.
– John
Mar 31 '18 at 10:13
add a comment |
2 Answers
2
active
oldest
votes
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".
add a comment |
I installed vscode with the same command, and it launched when I clicked on the Visual Studio Code icon in the Dash.
For more information read my other answer about installing Visual Studio Code.
I have found the vscode in Dash.
– wlos
May 31 '17 at 1:59
What happens when you try to launch it from the terminal with the commandvscode
?
– karel
May 31 '17 at 2:13
It shows "command not found". But now I can launch the vscode through Dash or terminal after restarting my computer.
– wlos
May 31 '17 at 12:45
When I installed vscode on my computer it launched immediately by clicking on the icon, but I guess it's alright now. Watch out when installing debugging extensions. They try to turn your Ubuntu into Windows and then they don't work anyway.
– karel
May 31 '17 at 12:53
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f919023%2fhow-to-launch-the-vscode-after-it-has-been-installed-through-snap%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
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".
add a comment |
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".
add a comment |
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".
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".
answered Aug 18 '17 at 13:52
Robert BlansettRobert Blansett
11
11
add a comment |
add a comment |
I installed vscode with the same command, and it launched when I clicked on the Visual Studio Code icon in the Dash.
For more information read my other answer about installing Visual Studio Code.
I have found the vscode in Dash.
– wlos
May 31 '17 at 1:59
What happens when you try to launch it from the terminal with the commandvscode
?
– karel
May 31 '17 at 2:13
It shows "command not found". But now I can launch the vscode through Dash or terminal after restarting my computer.
– wlos
May 31 '17 at 12:45
When I installed vscode on my computer it launched immediately by clicking on the icon, but I guess it's alright now. Watch out when installing debugging extensions. They try to turn your Ubuntu into Windows and then they don't work anyway.
– karel
May 31 '17 at 12:53
add a comment |
I installed vscode with the same command, and it launched when I clicked on the Visual Studio Code icon in the Dash.
For more information read my other answer about installing Visual Studio Code.
I have found the vscode in Dash.
– wlos
May 31 '17 at 1:59
What happens when you try to launch it from the terminal with the commandvscode
?
– karel
May 31 '17 at 2:13
It shows "command not found". But now I can launch the vscode through Dash or terminal after restarting my computer.
– wlos
May 31 '17 at 12:45
When I installed vscode on my computer it launched immediately by clicking on the icon, but I guess it's alright now. Watch out when installing debugging extensions. They try to turn your Ubuntu into Windows and then they don't work anyway.
– karel
May 31 '17 at 12:53
add a comment |
I installed vscode with the same command, and it launched when I clicked on the Visual Studio Code icon in the Dash.
For more information read my other answer about installing Visual Studio Code.
I installed vscode with the same command, and it launched when I clicked on the Visual Studio Code icon in the Dash.
For more information read my other answer about installing Visual Studio Code.
edited Feb 15 at 11:07
answered May 26 '17 at 7:06
karelkarel
60.1k13130154
60.1k13130154
I have found the vscode in Dash.
– wlos
May 31 '17 at 1:59
What happens when you try to launch it from the terminal with the commandvscode
?
– karel
May 31 '17 at 2:13
It shows "command not found". But now I can launch the vscode through Dash or terminal after restarting my computer.
– wlos
May 31 '17 at 12:45
When I installed vscode on my computer it launched immediately by clicking on the icon, but I guess it's alright now. Watch out when installing debugging extensions. They try to turn your Ubuntu into Windows and then they don't work anyway.
– karel
May 31 '17 at 12:53
add a comment |
I have found the vscode in Dash.
– wlos
May 31 '17 at 1:59
What happens when you try to launch it from the terminal with the commandvscode
?
– karel
May 31 '17 at 2:13
It shows "command not found". But now I can launch the vscode through Dash or terminal after restarting my computer.
– wlos
May 31 '17 at 12:45
When I installed vscode on my computer it launched immediately by clicking on the icon, but I guess it's alright now. Watch out when installing debugging extensions. They try to turn your Ubuntu into Windows and then they don't work anyway.
– karel
May 31 '17 at 12:53
I have found the vscode in Dash.
– wlos
May 31 '17 at 1:59
I have found the vscode in Dash.
– wlos
May 31 '17 at 1:59
What happens when you try to launch it from the terminal with the command
vscode
?– karel
May 31 '17 at 2:13
What happens when you try to launch it from the terminal with the command
vscode
?– karel
May 31 '17 at 2:13
It shows "command not found". But now I can launch the vscode through Dash or terminal after restarting my computer.
– wlos
May 31 '17 at 12:45
It shows "command not found". But now I can launch the vscode through Dash or terminal after restarting my computer.
– wlos
May 31 '17 at 12:45
When I installed vscode on my computer it launched immediately by clicking on the icon, but I guess it's alright now. Watch out when installing debugging extensions. They try to turn your Ubuntu into Windows and then they don't work anyway.
– karel
May 31 '17 at 12:53
When I installed vscode on my computer it launched immediately by clicking on the icon, but I guess it's alright now. Watch out when installing debugging extensions. They try to turn your Ubuntu into Windows and then they don't work anyway.
– karel
May 31 '17 at 12:53
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f919023%2fhow-to-launch-the-vscode-after-it-has-been-installed-through-snap%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What Linux distribution and version are you using? What is the output of
snap version
?– popey
May 26 '17 at 7:36
I can find the vscode after restart the computer.
– wlos
May 31 '17 at 12:40
@wlos Thanks. I had this exact same problem. I did not have to restart. I could simply logout and log back in.
– John
Mar 31 '18 at 10:13