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

Ability to keep only the current directory expanded in the Explorer #39025

Closed
johnbillion opened this issue Nov 23, 2017 · 2 comments
Closed
Labels
*extension-candidate Issue identified as good extension implementation feature-request Request for new features or functionality file-explorer Explorer widget issues
Milestone

Comments

@johnbillion
Copy link
Contributor

  • VSCode Version: 1.18.1
  • OS Version: macOS 10.12.3

After opening many different files within different subdirectories in a project, many directories will be expanded in the file tree in the Explorer pane. This makes it difficult to subsequently browse the file tree without having to first hit the Collapse All button.

It would be great if there was an option to only expand the directory tree of the currently focused file, so each time you switch to another file all the other directories in the tree are collapsed.

@vscodebot vscodebot bot added the workbench label Nov 23, 2017
@bpasero bpasero added feature-request Request for new features or functionality file-explorer Explorer widget issues and removed workbench labels Nov 24, 2017
@bpasero bpasero assigned isidorn and unassigned bpasero Nov 24, 2017
@isidorn isidorn added this to the Backlog milestone Nov 24, 2017
@isidorn isidorn removed their assignment Nov 24, 2017
@boblauer
Copy link

boblauer commented Jan 3, 2018

This extension seems to do the trick - https://github.com/hoovercj/vscode-api-playground/tree/master/AutoCollapseExplorer

@isidorn isidorn added the *extension-candidate Issue identified as good extension implementation label Sep 21, 2018
@vscodebot
Copy link

vscodebot bot commented Sep 21, 2018

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Sep 21, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*extension-candidate Issue identified as good extension implementation feature-request Request for new features or functionality file-explorer Explorer widget issues
Projects
None yet
Development

No branches or pull requests

4 participants