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

Feature request: expand/collapse all folds #12

Open
daveyarwood opened this issue Oct 12, 2017 · 2 comments
Open

Feature request: expand/collapse all folds #12

daveyarwood opened this issue Oct 12, 2017 · 2 comments

Comments

@daveyarwood
Copy link

Hi, thanks for the great plugin! I use it all the time.

One thing I keep finding myself wishing I could do, especially on large files, is click a button that will collapse every fold so I can get a "big picture" view of the file. Then I could click the button again to expand all of the folds.

@Tatsh
Copy link

Tatsh commented Sep 10, 2021

In the console:

for (x of $$('.collapser')) x.click()

@prerakmody
Copy link

prerakmody commented Oct 2, 2022

For v0.3.3, it is now:-

for (x of $$('.gcf-collapser')) x.click()

It would still be useful to have this as a shortcut.

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

3 participants