快捷键 |
功能 |
Ctrl+K,Ctrl+S |
打开快捷键设置中心
Keyboard Shortcuts
|
Ctrl+Shift+\ |
{}跳转
{ "key": "ctrl+shift+oem_5", "command": "editor.action.jumpToBracket", "when": "editorTextFocus" }
|
Alt+Shift+鼠标左键 |
垂直编辑
|
Ctrl+D |
选择多个相同的字符串
{ "key": "ctrl+d", "command": "editor.action.addSelectionToNextFindMatch", "when": "editorFocus" }
|
Ctrl+Shift+F |
在文件中查找,此快捷键容易与翻译软件冲突。
{ "key": "ctrl+shift+f", "command": "workbench.action.findInFiles" }
|
Ctrl+F |
在文件中查找
{ "key": "ctrl+f", "command": "actions.find", "when": "editorFocus || editorIsOpen" }
|
Ctrl+P |
打开/查找项目中的文件,通过文件名
{ "key": "ctrl+p", "command": "workbench.action.quickOpen" }
|
Ctrl+G |
跳转到指定行
{ "key": "ctrl+g", "command": "workbench.action.gotoLine" }
|
Ctrl+Shift+O |
在文件查找函数与变量
{ "key": "ctrl+shift+o", "command": "workbench.action.gotoSymbol" }
|
ctrl+shift+k |
删除一行
{ "key": "ctrl+shift+k", "command": "editor.action.deleteLines", "when": "textInputFocus && !editorReadonly" }
|