microsoft / vscode

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

Inconsistent button order between editor and panel #230122

Open jrieken opened 3 weeks ago

jrieken commented 3 weeks ago

IMO the editor does this rignt

Screenshot 2024-09-30 at 15 56 31
benibenj commented 3 weeks ago

I agree, it also annoys me a little as it is inconsistent, however, these are two different concepts with two different behaviours. For the sidebar and the panel, the x means "close this container". In the case of the editor it means "close this view which is inside the container".

We have this already for a long time in the panel. Everything to the right of the ... is a global action and acts on the entire container and can not be hidden. Everything to the left and including the ... acts on the view inside the container and can be hidden. image