visual-studio-codeautosuggest

How to stop VS Code from automatically selecting the first suggestion on hitting Enter?


Whenever I type a Widget function in my flutter code and hit Enter, VS Code automatically selects the first parameter suggestion. The parameter is then typed on the same line when I actually wan it on the next line.

Is there any way to add an empty suggestion on the top so that I have to press the down arrow first to select a suggestion?


Solution

  • "editor.acceptSuggestionOnEnter": "on"
    

    This controls if suggestions should be accepted on Enter - in addition to . The default value is 'on'.

    Customizing IntelliSense