How to install all VS Code workspace extensions programaticallyHow do you format code in Visual Studio Code (VSCode)How to use Visual Studio Code as Default Editor for GitHow do I hide certain files from the sidebar in Visual Studio Code?How to switch word wrap on and off in VSCode?Automatically install extensions in VS Code?How to install VSCode extensions offline?How do I configure Visual Studio Code to open files always in a new tab?can not install vscode extensionWhat is a 'workspace' in VS Code?VS Code extension recommendations for projects

What makes accurate emulation of old systems a difficult task?

Unknown code in script

How much cash can I safely carry into the USA and avoid civil forfeiture?

How to keep bees out of canned beverages?

How important is it that $TERM is correct?

What is the term for a person whose job is to place products on shelves in stores?

Can I criticise the more senior developers around me for not writing clean code?

Multiple options vs single option UI

Mistake in years of experience in resume?

Nails holding drywall

Drawing a german abacus as in the books of Adam Ries

A strange hotel

How to pronounce 'c++' in Spanish

Older movie/show about humans on derelict alien warship which refuels by passing through a star

Multiple fireplaces in an apartment building?

How to not starve gigantic beasts

How exactly does Hawking radiation decrease the mass of black holes?

My bank got bought out, am I now going to have to start filing tax returns in a different state?

Work requires me to come in early to start computer but wont let me clock in to get paid for it

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

Help with my training data

How do I reattach a shelf to the wall when it ripped out of the wall?

Where was the County of Thurn und Taxis located?

Find the identical rows in a matrix



How to install all VS Code workspace extensions programatically


How do you format code in Visual Studio Code (VSCode)How to use Visual Studio Code as Default Editor for GitHow do I hide certain files from the sidebar in Visual Studio Code?How to switch word wrap on and off in VSCode?Automatically install extensions in VS Code?How to install VSCode extensions offline?How do I configure Visual Studio Code to open files always in a new tab?can not install vscode extensionWhat is a 'workspace' in VS Code?VS Code extension recommendations for projects






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








2















When VS Code opens in a folder with .vscode/extensions.json present the user has the option to Install All recommended extensions.



How can the Install All function be invoked programatically (i.e. without human interaction) using the command line or VS Code API?



popup










share|improve this question




























    2















    When VS Code opens in a folder with .vscode/extensions.json present the user has the option to Install All recommended extensions.



    How can the Install All function be invoked programatically (i.e. without human interaction) using the command line or VS Code API?



    popup










    share|improve this question
























      2












      2








      2








      When VS Code opens in a folder with .vscode/extensions.json present the user has the option to Install All recommended extensions.



      How can the Install All function be invoked programatically (i.e. without human interaction) using the command line or VS Code API?



      popup










      share|improve this question














      When VS Code opens in a folder with .vscode/extensions.json present the user has the option to Install All recommended extensions.



      How can the Install All function be invoked programatically (i.e. without human interaction) using the command line or VS Code API?



      popup







      visual-studio-code vscode-settings vscode-extensions






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 9 at 7:11









      sabrehagensabrehagen

      647519




      647519






















          1 Answer
          1






          active

          oldest

          votes


















          1














          It doesn't look like the "Install All" action is associated with a command you could call via the vscode.commands API.



          The easiest solution is probably to parse .vscode/extensions.json yourself. You could then simply run code --install-extension <extension-id> for each of the extension IDs you find.






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            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%2fstackoverflow.com%2fquestions%2f55074942%2fhow-to-install-all-vs-code-workspace-extensions-programatically%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            It doesn't look like the "Install All" action is associated with a command you could call via the vscode.commands API.



            The easiest solution is probably to parse .vscode/extensions.json yourself. You could then simply run code --install-extension <extension-id> for each of the extension IDs you find.






            share|improve this answer



























              1














              It doesn't look like the "Install All" action is associated with a command you could call via the vscode.commands API.



              The easiest solution is probably to parse .vscode/extensions.json yourself. You could then simply run code --install-extension <extension-id> for each of the extension IDs you find.






              share|improve this answer

























                1












                1








                1







                It doesn't look like the "Install All" action is associated with a command you could call via the vscode.commands API.



                The easiest solution is probably to parse .vscode/extensions.json yourself. You could then simply run code --install-extension <extension-id> for each of the extension IDs you find.






                share|improve this answer













                It doesn't look like the "Install All" action is associated with a command you could call via the vscode.commands API.



                The easiest solution is probably to parse .vscode/extensions.json yourself. You could then simply run code --install-extension <extension-id> for each of the extension IDs you find.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 9 at 9:54









                Gama11Gama11

                13.2k52652




                13.2k52652





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • 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%2fstackoverflow.com%2fquestions%2f55074942%2fhow-to-install-all-vs-code-workspace-extensions-programatically%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

                    AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

                    Алба-Юлія

                    Захаров Федір Захарович