vscode使用idea快捷键(windows)

编辑vscode的快捷键配置文件bindings .json。位置如下,
在这里插入图片描述
内容(部分bug已修复),

[
    {
   
        "command": "editor.action.clipboardCopyAction",
        "key": "ctrl+c"
    },
    {
   
        "command": "editor.action.clipboardCopyAction",
        "key": "ctrl+[Insert]"
    },
    {
   
        "command": "editor.action.clipboardCutAction",
        "key": "ctrl+x"
    },
    {
   
        "command": "editor.action.clipboardCutAction",
        "key": "shift+[Delete]"
    },
    {
   
        "command": "editor.action.clipboardPasteAction",
        "key": "ctrl+v"
    },
    {
   
        "command": "editor.action.clipboardPasteAction",
        "key": "shift+[Insert]"
    },
    {
   
        "command": "redo",
        "key": "shift+ctrl+z"
    },
    {
   
        "command": "redo",
        "key": "shift+alt+[Backspace]"
    },
    {
   
        "command": "undo",
        "key": "ctrl+z"
    },
    {
   
        "command": "undo",
        "key": "alt+[Backspace]"
    },
    {
   
        "command": "workbench.view.debug",
        "key": "alt+5"
    },
    {
   
        "command": "workbench.action.navigateBack",
        "key": "ctrl+alt+[ArrowLeft]"
    },
    {
   
        "command": "git.commitAll",
        "key": "ctrl+k",
        "when": "!inDebugMode && !terminalFocus"
    },
    {
   
        "command": "workbench.view.debug",
        "key": "shift+alt+f9"
    },
    {
   
        "command": "workbench.action.closeActiveEditor",
        "key": "ctrl+f4"
    },
    {
   
        "command": "editor.action.triggerSuggest",
        "key": "ctrl+[Space]",
        "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
    },
    {
   
        "command": "editor.foldAll",
        "key": "shift+ctrl+[NumpadSubtract]",
        "when": "editorTextFocus && foldingEnabled"
    },
    {
   
        "command": "editor.foldAll",
        "key": "shift+ctrl+[Minus]",
        "when": "editorTextFocus && foldingEnabled"
    },
    {
   
        "command": "editor.fold",
        "key": "ctrl+[NumpadSubtract]",
        "when": "editorTextFocus && foldingEnabled"
    },
    {
   
        "command": "editor.fold",
        "key": "ctrl+[Minus]",
        "when": "editorTextFocus && foldingEnabled"
    },
    {
   
        "command": "editor.foldRecursively",
        "key": "ctrl+alt+[NumpadSubtract]",
        "when": "editorTextFocus && foldingEnabled"
    },
    {
   
        "command": "editor.foldRecursively",
        "key": "ctrl+alt+[Minus]",
        "when": "editorTextFocus && foldingEnabled"
    },
    {
   
        "command": "editor.action.blockComment",
        "key": "shift+ctrl+[Slash]",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
   
        "command": "editor.action.blockComment",
        "key": "shift+ctrl+[NumpadDivide]",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
   
        "command": "editor.action.commentLine",
        "key": "ctrl+[Slash]",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
   
        "command": "editor.action.commentLine",
        "key": "ctrl+[NumpadDivide]",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
   
        "command": "workbench.action.tasks.build",
        "key": "ctrl+f9"
    },
    {
   
        "command": "copyFilePath",
        "key": "shift+ctrl+c",
        "when": "!editorFocus"
    },
    {
   
        "command": "workbench.action.debug.run",
        "key": "shift+f9",
        "when": "debuggersAvailable"
    },
    {
   
        "command": "merge-conflict.accept.current",
        "key": "shift+alt+[ArrowRight]",
        "when": "isInDiffEditor"
    },
    {
   
        "command": "merge-conflict.accept.incoming",
        "key": "shift+alt+[ArrowLeft]",
        "when": "isInDiffEditor"
    },
    {
   
        "command": "workbench.action.quickOpenNavigateNext",
        "key": "ctrl+[Tab]",
        "when": "inQuickOpen"
    },
    {
   
        "command": "workbench.action.quickOpenNavigateNext",
        "key": "ctrl+[Tab]"
    },
    {
   
        "command": "git.openChange",
        "key": "ctrl+d"
    },
    {
   
        "command": "editor.action.goToDeclaration",
        "key": "f4",
        "when": "editorTextFocus"
    },
    {
   
        "command": "workbench.action.files.showOpenedFileInNewWindow",
        "key": "shift+f4",
        "when": "emptyWorkspaceSupport"
    },
    {
   
        "command": "acceptSelectedSuggestion",
        "key": "shift+ctrl+[Enter]",
        "when": "suggestWidgetVisible && textInputFocus"
    },
    {
   
        "command": "acceptSelectedSuggestion",
        "key": "shift+ctrl+[Enter]",
        "when": "acceptSuggestionOnEnter && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus"
    },
    {
   
        "command": "editor.action.deleteLines",
        "key": "ctrl+y",
        "when": "textInputFocus && !editorReadonly"
    },
    {
   
        "command": "deleteWordRight",
        "key": "ctrl+[Delete]",
        "when": "textInputFocus && !editorReadonly"
    },
    {
   
        "command": "deleteWordLeft",
        "key": "ctrl+[Backspace]",
        "when": "textInputFocus && !editorReadonly"
    },
    {
   
        "command": "editor.action.copyLinesDownAction",
        "key": "ctrl+d",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
   
        "command": "editor.action.joinLines",
        "key": "shift+ctrl+j",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
   
        "command": "cursorLineEnd",
        "key": "[End]",
        "when": "textInputFocus"
    },
    {
   
        "command": "cursorLineEndSelect",
        "key": "shift+[End]",
        "when": "textInputFocus"
    },
    {
   
        "command": "cursorLineStart",
        "key": "[Home]",
        "w
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值