DEV Community

Cover image for Free up some space on your VS Code
Ansh Saini
Ansh Saini

Posted on • Updated on

Free up some space on your VS Code

This is the first of a series of opinionated posts that I'm going to make about becoming an absolute master of VSCode shortcuts.

This Activity Bar is just something that takes up screen real estate and honestly its just useless.

Just setup keyboard shortcuts for the tabs that you use. These are what I use.

Cmd + Shift + E: File Explorer
Cmd + Shift + F: Find in files (Already the default)
Cmd + Shift + G: Source Control
Cmd + Shift + A: Active pull request
Option + Shift + D: Debug Panel

For panels which you use often, but not on the daily (for example: the extensions panel), you can just use the command palette. Cmd + Shift + P and type 'focus on...'.

command palette example

Now you can safely get rid of it and on the off chance you might need to access the Activity Bar, you can just use the command palette again to bring it back :)

Hide activity bar

Top comments (2)

Collapse
 
tyler36 profile image
tyler36

Why not just go full zen mode if you find the bar "useless"?

Collapse
 
anshsaini profile image
Ansh Saini

Zen mode make the window full-screen. Yes, you could do that. But for me personally, I find the 'fullscreen' mode of macos kinda annoying. It prevents me from having multiple widows on the same desktop (browser, slack, etc...)

So yeah, this is just a nifty trick to save some space while still having everything all the functionality.