Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an action to collapse all views except the focussed view #48201

Closed
yulihGit opened this issue Apr 19, 2018 · 8 comments
Closed

Provide an action to collapse all views except the focussed view #48201

yulihGit opened this issue Apr 19, 2018 · 8 comments
Assignees
Labels
feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code tree-views Extension tree view issues
Milestone

Comments

@yulihGit
Copy link

Issue Type: Feature Request

I've currently got the "open editors", "Folder map" and "Code map" and "Gitlens" open. Everything is very cramped. Would be nice if the left panel sub windows would dynamically "reveal/open up" upon mouse hover and revert once curser leave the left panel.

VS Code version: Code 1.22.2 (3aeede7, 2018-04-12T16:38:45.278Z)
OS version: Windows_NT x64 10.0.16299

@ramya-rao-a
Copy link
Contributor

You can collapse these sections at the moment. Doesnt that help?

@ramya-rao-a ramya-rao-a added the tree-views Extension tree view issues label Apr 19, 2018
@sandy081
Copy link
Member

@yulihGit Not sure what do you mean by this

Would be nice if the left panel sub windows would dynamically "reveal/open up" upon mouse hover and revert once curser leave the left panel.

@sandy081 sandy081 added the info-needed Issue requires more information from poster label Apr 19, 2018
@yulihGit
Copy link
Author

@sandy081 Hi, sorry for the bad description. So when I click ctrl+shift+E I reveal the Explorer in vscode. In this panel/side bar I normally have 4 sections. Starting from the top, "Open Editors", "Folder/Workspace name", "Code outliner", "Gitlens" and some times "Maven projects" etc. If one would like to quickly navigate in these sections, it could be nice to have the separate sections "open up" (stretch out vertically), when one hover over the section title name, e.g "Gitlens". And then once you move your curser out of the side-bar the sections returns to their original size.

@ramya-rao-a On a laptop or a smaller monitor with multiple sections one has to do quite a few clicking and dragging. I feel like this could be avoided with "dynamic" sections. I'll try to give an explanation, imagine having four sections enabled. If you wanted to have the second section from the top to be "stretched out", you would have to manually drag it and then reset it in order to return to the original setup, or you could click/collapse the third section followed by the fourth section. Then, if you wanted and to return back to previous state, you've had to re-click them at the bottom of the side-bar. Maybe not a big issue really, just something I thought would be nice and possible prevent the interruption of the workflow.

@sandy081
Copy link
Member

@yulihGit Thanks for the explanation. I do not think this requirement will be implemented as is. But I see your issue of space constraints that lot of views are packed up. Probably an action to collapse all views except the focussed view might be helpful?

@ramya-rao-a ramya-rao-a added under-discussion Issue is under discussion for relevance, priority, approach and removed info-needed Issue requires more information from poster labels Apr 20, 2018
@yulihGit
Copy link
Author

yulihGit commented Apr 21, 2018

@sandy081 Yeah, interesting thought. Maybe a behaviour similiar to the following commands:
"command": "workbench.action.maximizeEditor"
"command": "workbench.action.evenEditorWidths"

@sandy081 sandy081 added feature-request Request for new features or functionality and removed under-discussion Issue is under discussion for relevance, priority, approach labels Apr 23, 2018
@sandy081 sandy081 added this to the On Deck milestone Apr 23, 2018
@d-akara
Copy link

d-akara commented May 3, 2018

@yulihGit @sandy081
Having all of these views in the same panel is always going to add additional actions required by the user to manage the layout and I'm not sure there is anything significant that can be done as long as they exist in the same space.

I would prefer this solution of separating these views
#41686

@sandy081
Copy link
Member

sandy081 commented May 7, 2018

@dakaraphi Agreed distributing views helps a lot. At the same time having some view actions might be handy.

FYI Last milestone I implemented to support contributing view containers in activity bar thereby you can contribute views to the view containers (#43645).

@sandy081 sandy081 changed the title Dynamic sub windows left panel Provide an action to collapse all views except the focussed view May 7, 2018
@alexr00 alexr00 self-assigned this Oct 7, 2019
@alexr00 alexr00 added the *out-of-scope Posted issue is not in scope of VS Code label Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code tree-views Extension tree view issues
Projects
None yet
Development

No branches or pull requests

6 participants
@d-akara @sandy081 @ramya-rao-a @yulihGit @alexr00 and others