github-code-folding
github-code-folding copied to clipboard
Feature request: expand/collapse all folds
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.
In the console:
for (x of $$('.collapser')) x.click()
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.