DEV Community

Md. Abu Taher 👨‍💻
Md. Abu Taher 👨‍💻

Posted on

VSCode Trick: Reset the Sidebar and Terminal Pane Size

Have you ever resized sidebar and terminal like this?
Imgur

After that, you either did not care or tried to manually resize it back, right? But did you ever feel you forgot actual size or did not have the satisfaction?
Imgur

Just double click the borders of the pane you want to resize.
Imgur

Same applies to extension or any other activity, where you want to see the full contents.
Imgur

That's it! It is now resized back to appropriate size based on the contents of the sidebar and viewport size.

Peace!

Discussion (2)

Collapse
mrwensveen profile image
Matthijs Wensveen

Neat! VSCode forgets the pane sizes when I disconnect and reconnect my 2nd monitor, because it's forced to move to the smaller laptop screen. I would like it to remember per-screen settings, but this helps a lot.

Collapse
samueltlg profile image
Samuel TLG

Nice, thanks!