vscode提示快捷键与输入法冲突解决办法

vscode提示快捷键是Ctrl + space(空格 ),但是Ctrl + space是系统输入法切换快捷键,这样就会有冲突
在vscode中按Ctrl + Shift + P 输入key命令keyboard将以下JSON复制进入
vscode提示快捷键与输入法冲突解决办法

// Place your key bindings in this file to override the defaultsauto[]
[
    {
        "key": "alt+oem_2",
        "command": "editor.action.triggerSuggest",
        "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
    },
    {
        "key": "ctrl+space",
        "command": "-editor.action.triggerSuggest",
        "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
    }
]

将快捷键重新设置后可以使用Alt + /Ctrl + I代码提示建议

上一篇:2022-01-20 justify-content


下一篇:Java内存模型(JMM),安卓系列学习进阶视频