左下角设置按钮 -> Keyboard Shortcuts -> keybindings.json。

[
    { "key": "alt+/",  "command": "editor.action.triggerSuggest","when": "editorTextFocus" },
    { "key": "ctrl+alt+down","command": "editor.action.copyLinesDownAction", "when": "editorTextFocus" },
    { "key": "ctrl+alt+up", "command": "editor.action.copyLinesUpAction", "when": "editorTextFocus" },
    { "key": "ctrl+shift+c","command": "editor.action.commentLine","when": "editorTextFocus" },
    { "key": "ctrl+d","command": "editor.action.deleteLines","when": "editorTextFocus" },
    { "key": "ctrl+k","command": "editor.action.addSelectionToNextFindMatch","when": "editorFocus"},
    { "key": "ctrl+shift+f","command": "editor.action.format","when": "editorTextFocus"},
    { "key": "ctrl+shift+x","command": "editor.action.transformToUppercase","when": "editorTextFocus"},
    { "key": "ctrl+shift+y","command": "editor.action.transformToLowercase","when": "editorTextFocus"},
    { "key": "ctrl+shift+alt+x","command": "workbench.view.extensions" },
    { "key": "ctrl+shift+alt+y","command": "workbench.debug.action.toggleRepl"},
]

参考地址:https://blog.csdn.net/zoujiawei6/article/details/85682649

相关文章:

  • 2022-01-16
  • 2021-11-28
  • 2021-09-25
  • 2022-12-23
  • 2021-08-25
  • 2021-10-21
  • 2022-12-23
猜你喜欢
  • 2021-09-12
  • 2022-01-09
  • 2021-08-02
  • 2021-05-31
  • 2022-12-23
  • 2021-03-30
  • 2022-12-23
相关资源
相似解决方案