microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.74k stars 28.72k forks source link

Per-activity panel width. #213953

Open gboncoffee opened 3 months ago

gboncoffee commented 3 months ago

Problem: I usually like having a small panel for the file explorer, as my files usually don't have huge names. But when I open the Copilot chat, I have to increase the panel width so I can properly interact with it, read it's suggestions, etc. Then, when opening the file explorer once I'm done with Copilot, I have to decrease the panel width manually again.

Solution: per-activity panel width. When switching activities, the panel is set to the activity's prefered width, which may be configured in the settings, and per-session by manually increasing/decreasing the panel's size when an activity is focused.

I actually tried to implement this myself, but my experience with TypeScript/JavaScript/Electron is minimal and VS Code is a huge codebase. As far as I understood of the code architecture, this feature may not be straight-forward, as the activities can be removed from the panel altogether.

Thanks to the team and comunity contributors for maintaining the most used development environment in the world!

kjusupov commented 3 months ago

@gboncoffee I have similar UX problem and below is my current solution:

gboncoffee commented 3 months ago

Thanks for the suggestion! I really liked this solution. Regarding the bottom panel, you can "split" by dragging the view name. It's not ideal but solves some workflows.

out