简体   繁体   中英

Toggle Explorer Bar

I know that cmd+b toggles the side bar. I know that cmd+shift+e shows the explorer bar. I want one command to toggle, not show, toggle, ONLY the explorer bar. Is there a way to do this?

Shortcuts for Windows. Change Ctrl to Cmd for mac:

{
    "key": "ctrl+shift+e",
    "command": "-workbench.view.explorer"
},
{
    "key": "ctrl+shift+e",
    "command": "workbench.view.explorer",
    "when": "!explorerViewletVisible"
},
{
    "key": "ctrl+shift+e",
    "command": "workbench.action.toggleSidebarVisibility",
    "when": "explorerViewletVisible"
},

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM