How to launch the vscode after it has been installed through snap?












1















run the command as below:



sudo snap install --classic vscode


I install the vscode successfully. But I can not launch the vscode.










share|improve this question


















  • 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
















1















run the command as below:



sudo snap install --classic vscode


I install the vscode successfully. But I can not launch the vscode.










share|improve this question


















  • 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














1












1








1








run the command as below:



sudo snap install --classic vscode


I install the vscode successfully. But I can not launch the vscode.










share|improve this question














run the command as below:



sudo snap install --classic vscode


I install the vscode successfully. But I can not launch the vscode.







snap






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 26 '17 at 6:24









wloswlos

62




62








  • 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














  • 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








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










2 Answers
2






active

oldest

votes


















0














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".






share|improve this answer































    0














    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.






    share|improve this answer


























    • 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











    • 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













    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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".






    share|improve this answer




























      0














      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".






      share|improve this answer


























        0












        0








        0







        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".






        share|improve this answer













        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".







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 18 '17 at 13:52









        Robert BlansettRobert Blansett

        11




        11

























            0














            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.






            share|improve this answer


























            • 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











            • 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


















            0














            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.






            share|improve this answer


























            • 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











            • 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
















            0












            0








            0







            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.






            share|improve this answer















            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.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            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 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











            • 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











            • 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











            • 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




















            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido