skip to Main Content

Is there any shortcut to resize explorer panel in VS Code?

By the way, I know how to search for keyboards in vs code and I have already implemented some resizing functionalities for terminal, editor panel and other stuff. I specifically wanna know if there is any shortcut for resizing the Explorer View and not anything else.

3

Answers


  1. Chosen as BEST ANSWER

    Why workbench.action.decreaseViewSize only works in maximized window mode? I can't use this utility when my vs code only contains half of my screen.


  2. From what I know, there isn’t a keyboard shortcut to resize a specific view regardless of what view is currently focused (at least- not at the time of this writing), but there exist keyboard shortcut commands to resize the currently focused view: workbench.action.increaseViewSize and workbench.action.decreaseViewSize. What you can do is bind something to those commands, and then focus the Explorer View (bound by default to ctrl/cmd+shift+e), and then use your keyboard shortcut.

    Login or Signup to reply.
  3. that was an awesome reply. Now it’s working for me. I think I encountered a bug or something. not sure yet [scratching my head].

    anyways thanks for your help. I’m in love with these resizing modules, you know; since apart from making my life easier, they can easily persuade others like colleagues and even my partner into thinking that I’m not, say, being sleep while coding and it’s just that it’s my natural style to relax on my chair, move my almost still fingers, and relax while working on my machine.

    keep up the good work friend.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search