Java OpenResty Spring Spring Boot MySQL Redis MongoDB PostgreSQL Linux Android Nginx 面试 小程序 Arthas JVM AQS juc Kubernetes Docker DevOps


Visual Studio Code 快捷键更改为 Intellij IDEA

VS Code IDEA 大约 1687 字

插件

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"
    }
]
阅读 2228 · 发布于 2021-07-03

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb

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

扫描二维码关注我
昵称:
随便看看 换一批