【问题标题】:VS Code Explorer side bar navigationVS Code Explorer 侧边栏导航
【发布时间】:2017-01-19 07:23:29
【问题描述】:

当我按 Cmd + Shift + E 时,我将焦点放在探索文件树上,现在可以使用箭头导航我的文件键。

Enter 应该激活文件,但它会激活与 F2 正常关联的重命名命令。

它适用于 Windows,但不适用于我的 macbook。我知道如何创建自定义键绑定。但我在 keybindings.json 中找不到激活文件的命令。

我正在使用Parallels Desktop 12 for Mac 并且知道它会导致键盘绑定问题。但我不认为这里是这种情况。

那么有人对此有解决方案或知道在 keybindings.json 文件中激活的命令吗?

【问题讨论】:

    标签: visual-studio-code keyboard-shortcuts vscode-settings


    【解决方案1】:

    keybindings.json 中将list.select 事件绑定到enter

    {
        "key": "enter",
        "command": "list.select",
        "when": "listFocus"
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多