Allow Explorer Icon to Toggle Sidebar Visibility (like VSCode)

Please make the Explorer icon (and other Activity Bar icons) toggle the sidebar’s visibility.

Current Behavior:
Clicking the Explorer icon only opens the sidebar. It does not close it if it’s already open.

Desired Behavior (like VSCode):
Clicking the active Explorer icon should close the sidebar. This provides a fast, intuitive way for mouse users to toggle the sidebar without needing the keyboard shortcut (Cmd/Ctrl + B).

This change would improve workflow efficiency and align Cursor with the user experience many expect from a VSCode-based editor.

Hey, which version of Cursor are you using? I just checked, and clicking the icon opens and closes the sidebar for me.

I’m using 1.1.7 on macOSon macOS. I’ve switched the activity bar orientation to vertical like the VS code default and the behaviour is as expected, but the horizontal orientation does not behave the same.