How to disable Enter button for code snippet in VSCode Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience Should we burninate the [wrap] tag? The Ask Question Wizard is Live!How to detect if JavaScript is disabled?How to customize the tab-to-space conversion factor when using Visual Studio Code?How do you format code in Visual Studio Code (VSCode)How to switch word wrap on and off in VSCode?VS Code Intellisense don't suggest snippet at firstHow do I configure Visual Studio Code to open files always in a new tab?Issue with TAB and ENTER in vscodeHow to edit existing VS Code SnippetsVSCODE snippets : Force intellisense after only one character pressedVS Code : User Snippets : on enter key press

Why is my conclusion inconsistent with the van't Hoff equation?

At the end of Thor: Ragnarok why don't the Asgardians turn and head for the Bifrost as per their original plan?

How to tell that you are a giant?

Why light coming from distant stars is not discreet?

How widely used is the term Treppenwitz? Is it something that most Germans know?

What does the "x" in "x86" represent?

What is known about the Ubaid lizard-people figurines?

Can I cast Passwall to drop an enemy into a 20-foot pit?

How to call a function with default parameter through a pointer to function that is the return of another function?

Naming the result of a source block

The logistics of corpse disposal

Extract all GPU name, model and GPU ram

Identify plant with long narrow paired leaves and reddish stems

What is a non-alternating simple group with big order, but relatively few conjugacy classes?

Apollo command module space walk?

Seeking colloquialism for “just because”

Using audio cues to encourage good posture

String `!23` is replaced with `docker` in command line

How does debian/ubuntu knows a package has a updated version

What is the meaning of the new sigil in Game of Thrones Season 8 intro?

How much time will it take to get my passport back if I am applying for multiple Schengen visa countries?

Echoing a tail command produces unexpected output?

Why are Kinder Surprise Eggs illegal in the USA?

Can an alien society believe that their star system is the universe?



How to disable Enter button for code snippet in VSCode



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
Should we burninate the [wrap] tag?
The Ask Question Wizard is Live!How to detect if JavaScript is disabled?How to customize the tab-to-space conversion factor when using Visual Studio Code?How do you format code in Visual Studio Code (VSCode)How to switch word wrap on and off in VSCode?VS Code Intellisense don't suggest snippet at firstHow do I configure Visual Studio Code to open files always in a new tab?Issue with TAB and ENTER in vscodeHow to edit existing VS Code SnippetsVSCODE snippets : Force intellisense after only one character pressedVS Code : User Snippets : on enter key press



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








1















Sometimes when I press the Enter button, VSCode will aggressively complete the code which I don't want.



For example:



When I type in the



import numpy as np


and press the enter, VSCode will change the np to numpy



or when I type in the



else


and press the enter, VSCode will change it to



else

/*...*/



while I sometimes really don't need this format.



So how can I disable 'Enter' for code snippet and use Tab only?










share|improve this question




























    1















    Sometimes when I press the Enter button, VSCode will aggressively complete the code which I don't want.



    For example:



    When I type in the



    import numpy as np


    and press the enter, VSCode will change the np to numpy



    or when I type in the



    else


    and press the enter, VSCode will change it to



    else

    /*...*/



    while I sometimes really don't need this format.



    So how can I disable 'Enter' for code snippet and use Tab only?










    share|improve this question
























      1












      1








      1








      Sometimes when I press the Enter button, VSCode will aggressively complete the code which I don't want.



      For example:



      When I type in the



      import numpy as np


      and press the enter, VSCode will change the np to numpy



      or when I type in the



      else


      and press the enter, VSCode will change it to



      else

      /*...*/



      while I sometimes really don't need this format.



      So how can I disable 'Enter' for code snippet and use Tab only?










      share|improve this question














      Sometimes when I press the Enter button, VSCode will aggressively complete the code which I don't want.



      For example:



      When I type in the



      import numpy as np


      and press the enter, VSCode will change the np to numpy



      or when I type in the



      else


      and press the enter, VSCode will change it to



      else

      /*...*/



      while I sometimes really don't need this format.



      So how can I disable 'Enter' for code snippet and use Tab only?







      visual-studio-code code-snippets vscode-snippets






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 22 at 9:04









      PzzzzzPzzzzz

      84




      84






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can achieve this by going to your settings and search for Accept Suggestion On Enter in the search bar. Simply toggle it to off and this should solve your problem.enter image description here






          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%2f55296134%2fhow-to-disable-enter-button-for-code-snippet-in-vscode%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









            0














            You can achieve this by going to your settings and search for Accept Suggestion On Enter in the search bar. Simply toggle it to off and this should solve your problem.enter image description here






            share|improve this answer



























              0














              You can achieve this by going to your settings and search for Accept Suggestion On Enter in the search bar. Simply toggle it to off and this should solve your problem.enter image description here






              share|improve this answer

























                0












                0








                0







                You can achieve this by going to your settings and search for Accept Suggestion On Enter in the search bar. Simply toggle it to off and this should solve your problem.enter image description here






                share|improve this answer













                You can achieve this by going to your settings and search for Accept Suggestion On Enter in the search bar. Simply toggle it to off and this should solve your problem.enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 22 at 9:21









                CornéCorné

                289216




                289216





























                    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%2f55296134%2fhow-to-disable-enter-button-for-code-snippet-in-vscode%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

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript