在 VScode 中禁用快捷菜单栏

Disable Shortcut Menu Bar in VScode

我正在尝试禁用“快捷菜单栏”。通过 View->Appearance 我可以禁用侧边栏、状态栏、activity 栏、编辑器区域、面板,并且从 View 我可以禁用面包屑。我没有看到它的选项。我称它为“快捷菜单栏”,因为这是我看到它被提及的唯一方式 (https://marketplace.visualstudio.com/items?itemName=jerrygoyal.shortcut-menu-bar)

查看 Landing.tsx 旁边的栏:

谢谢!

  1. 打开vscode设置json。

Windows 上按 Ctrl+Shift+PCmd+Shift+POSX) 上输入“settings.json” 要么 File -> Preferences -> Settings -> Extensions -> Scroll down to find "Edit in settings.json"

  1. 添加以下设置
    "gitlens.menus": {
        "editorGroup": {
            "blame": false,
            "compare": false
        }
    }
  1. 重新加载vscode。手动或按 Ctrl+Shift+P on Windows (Cmd+Shift+POSX) 上输入“reload window”