VS Code设置键盘快捷键

左下角:keyboard shortcuts > open keyboard shortcuts

配置:

  {
    "key": "ctrl+i",
    "command": "selectPrevSuggestion",
    "when": "editorTextFocus && suggestWidgetVisible"
  }, {
    "key": "ctrl+k",
    "command": "selectNextSuggestion",
    "when": "editorTextFocus && suggestWidgetVisible"
  }
作用:出现代码提示后使用 ctrl+i 和ctrl+k快速上下移动提示项,不用使用上下键