vscode 设置 eclipse 快捷键

【首选项】-->【键盘快捷方式】-->【用于高级自定义打开和编辑 keybindings.json】

[

    { "key": "alt+/",  "command": "editor.action.triggerSuggest","when": "editorTextFocus" },

    { "key": "ctrl+d", "command": "editor.action.cutLines","when": "editorTextFocus" },

    { "key": "ctrl+alt+down","command": "editor.action.copyLinesDownAction", "when": "editorTextFocus" },

    { "key": "ctrl+alt+up", "command": "editor.action.copyLinesUpAction", "when": "editorTextFocus" },

    { "key": "shift+alt+r","command": "editor.action.rename","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": "alt+shift+2","command": "workbench.action.splitEditor"},

    { "key": "ctrl+shift+f","command": "editor.action.format","when": "editorTextFocus"},

]

原文出处:https://hacpai.com/article/1494130046169

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容