Visual Studio代码:使用选项卡(而不是箭头键)选择智能感知建议?

时间:2018-01-04 14:36:53

标签: visual-studio-code

就像在ipython中一样,VScode中是否可以使用tab从intellisense中选择选项而不是使用箭头键?

1 个答案:

答案 0 :(得分:4)

在你的keybindings.json中:

{
    "key": "tab",
    "command": "selectNextSuggestion",
    "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  },
  {
    "key": "down",
    "command": "-selectNextSuggestion",
    "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
  }