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

Add 'Collapse All' to Explorer panel #34972

Closed
smbkr opened this issue Sep 25, 2017 · 10 comments
Closed

Add 'Collapse All' to Explorer panel #34972

smbkr opened this issue Sep 25, 2017 · 10 comments
Assignees
Labels
tree-views Extension tree view issues

Comments

@smbkr
Copy link
Contributor

smbkr commented Sep 25, 2017

Now that the Explorer panel allows for extensions to add their own items, it can get quite cluttered, showing for example, open files, project files, code outline, git log, bookmarks, Docker containers, etc, etc.

It would be helpful to have a Collapse All button at the top of this list (or wherever is deemed appropriate), along with Collapse Other buttons on each section, to quickly de-clutter this view.

@vscodebot vscodebot bot added the workbench label Sep 25, 2017
@sandy081 sandy081 added the tree-views Extension tree view issues label Sep 26, 2017
@sandy081 sandy081 self-assigned this Sep 26, 2017
@sandy081 sandy081 added the feature-request Request for new features or functionality label Sep 26, 2017
@sandy081 sandy081 added this to the Backlog milestone Sep 26, 2017
@cristim
Copy link

cristim commented Oct 19, 2017

You have my +1, but I'd +100 this if I could!

In order to reduce this clutter, all the extension items should be collapsed by default, and only expanded to a reasonable size if they have some content to show. In my case they're most empty and taking space from my file tree.

Their current size should be stored somewhere in the settings, and able to be overridden for the current workspace.

@sandy081
Copy link
Member

@cristim Please try the latest insiders here - https://code.visualstudio.com/insiders. There was a bug (regression) that is by default opening custom views in a new workspace #36134. This got fixed in insiders. Please try out.

@cristim
Copy link

cristim commented Oct 19, 2017

Thanks @sandy081, good to know it was already addressed.

I'm going to wait for the next release, the insiders won't be in sync with my normal vscode and I would rather wait than port all my settings to it.

@zpydee
Copy link

zpydee commented Nov 2, 2017

@sandy081 when is next release solving this issue planned?

@smbkr
Copy link
Contributor Author

smbkr commented Nov 2, 2017

@zpydee 09-10/10 #37117

@bpasero bpasero removed the workbench label Nov 16, 2017
@drayfar
Copy link

drayfar commented Jan 11, 2018

It would be great to be able to Collapse All at any point in the file tree to collapse folders. Helpful when I'm cleaning up between tasks. Use this feature all the time in VS'17.

@sandy081
Copy link
Member

Currently we have performance issues with Collapse all action on a tree and we are working on a new tree implementation which is more performant. I will add this support after this.

@pavel-agarkov
Copy link

on a small screen it is possible to work only with one expanded panel at a time.
so I would love to have an option to change expand panel action to be also a collapse all other panels.
many accordion controls out there have a similar option.
now I have first to collapse current panel before to expand the next one.
if panels could remember their height it would be wonderful as well.
thank you.

@Mellbourn
Copy link

Up until recently, the keyboard shortcut cmd-left would collapse the explorer view. This binding has disappeared. Was that intentional?

@sandy081
Copy link
Member

There are quite a lot of improvements added after this issue was created. Improved views management, introduced view custom containers and views can control their initial visibility.

Please revalidate this request with latest release and create a new issue for new improvements.

@sandy081 sandy081 removed the feature-request Request for new features or functionality label Nov 13, 2020
@sandy081 sandy081 removed this from the Backlog milestone Nov 13, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tree-views Extension tree view issues
Projects
None yet
Development

No branches or pull requests

9 participants