Skip to content

Add a way to collapse/expand all changelists in the SCM pane #266

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

Open
davidavetyan opened this issue Feb 2, 2024 · 2 comments
Open

Add a way to collapse/expand all changelists in the SCM pane #266

davidavetyan opened this issue Feb 2, 2024 · 2 comments

Comments

@davidavetyan
Copy link

Is your feature request related to a problem? Please describe.
Currently all changelists are shown expanded in the SCM pane.
In case of many changelists with many files in them, I have to collapse them one-by-one and then open the one changelist I'm interested in.

Describe the solution you'd like
It would be helpful to have a right click menu action for collapsing/expanding all changelists (for example when right clicking on Default Changelist or perhaps somewhere else in the pane).

Describe alternatives you've considered
An alternative could be to have a setting in for the extension, which allows to change the default collapsed/expanded state of changelists when first opening VS Code.

@mjcrouch
Copy link
Owner

mjcrouch commented Feb 2, 2024

Hi, thanks for suggesting. However I don't think we have any way to control the expanded / collapsed state of a particular changelist via the extension API. This would need to be requested directly from vs code. A likely problem of course is that the major source control providers don't have this multi-changelist concept and just have e.g. a couple of groups for changed and staged files so it's not likely to be prioritized in a vs code release

@davidavetyan
Copy link
Author

Understood, thanks for the quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants