Visual Studio Code 快捷键更改为 Intellij IDEA

VS Code IDEA About 1,687 words

插件

VS Code中有一款插件叫做IntelliJ IDEA Keybindings

下载

下载页面:https://github.com/kasecato/vscode-intellij-idea-keybindings/releases

插件格式:vsix

安装

VS Code安装时会在PATH环境变量中添加他的文件路径,也可以在code.exeVS Code在安装目录中的名称为code.exe)所在目录执行。

code --install-extension intellij-idea-keybindings-1.4.4.vsix

重启 VS Code

可能需要重启一下VS Code

备注

有些快捷键无法被更改,可以去插件主页详细查看具体哪些快捷键不支持。

插件主页

https://github.com/kasecato/vscode-intellij-idea-keybindings

keybindings.json

[
    {
        "key": "alt+/",
        "command": "editor.action.triggerSuggest",
        "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
    },
    {
        "key": "ctrl+space",
        "command": "-editor.action.triggerSuggest",
        "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
    },
    {
        "key": "alt+/",
        "command": "toggleSuggestionDetails",
        "when": "suggestWidgetVisible && textInputFocus"
    },
    {
        "key": "ctrl+space",
        "command": "-toggleSuggestionDetails",
        "when": "suggestWidgetVisible && textInputFocus"
    },
    {
        "key": "alt+left",
        "command": "-workbench.action.navigateBack"
    },
    {
        "key": "alt+left",
        "command": "workbench.action.navigateBack"
    },
    {
        "key": "alt+right",
        "command": "-workbench.action.navigateForward"
    },
    {
        "key": "alt+right",
        "command": "workbench.action.navigateForward"
    },
    {
        "key": "ctrl+alt+left",
        "command": "-workbench.action.navigateBack"
    },
    {
        "key": "ctrl+alt+right",
        "command": "-workbench.action.navigateForward"
    }
]
Views: 8,551 · Posted: 2021-07-03

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh