Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code: Use tab (instead of arrow keys) to select Intellisense Suggestions?

Much like in ipython, is it possible in VScode to use tab to select options from intellisense instead of using arrow keys?

like image 480
fasssster101 Avatar asked Jan 04 '18 14:01

fasssster101


1 Answers

In your keybindings.json:

  {
    "key": "tab",
    "command": "selectNextSuggestion",
    "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  },
  {
    "key": "down",
    "command": "-selectNextSuggestion",
    "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  },
    {
    "key": "ctrl+tab",
    "command": "selectPrevSuggestion",
    "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  },
  {
    "key": "up",
    "command": "-selectPrevSuggestion",
    "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  }
like image 186
Mark Avatar answered Sep 27 '22 20:09

Mark