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

[request functionality] collapse/expanse all for codefolding #982

Closed
vinniec opened this issue May 8, 2017 · 7 comments
Closed

[request functionality] collapse/expanse all for codefolding #982

vinniec opened this issue May 8, 2017 · 7 comments

Comments

@vinniec
Copy link

vinniec commented May 8, 2017

Would it be possible to add a shortcut to collapse/expand all collapsible blocks of code?

Thanks :)

@jcb91
Copy link
Member

jcb91 commented May 8, 2017

In every cell, or just currently-selected cells? (Could be configurable, or separate keys for both, I guess)

@vinniec
Copy link
Author

vinniec commented May 8, 2017

In every cell.
The real reason I ask this is that whenever I open a notebook the column that contains the folding symbol is overlapped on the code.
This forces me to turn the cell into a markdown cell and then return it to a code cell.
In this way the column that contains the folding symbols goes away from the code again and I can finally collapse the code to my liking.
But in this process all code blocks are expanded and I have to close them all by hand.
It would be convenient for me to be able to recompress them all with a single click.
Thanks for support

@jcb91
Copy link
Member

jcb91 commented May 9, 2017

The real reason I ask this is that whenever I open a notebook the column that contains the folding symbol is overlapped on the code.

Ok, so I guess maybe it would be better to just get this to initialise correctly, rather than introduce a workaround?

@jcb91
Copy link
Member

jcb91 commented May 16, 2017

so this issue (codefolding symbols overlapping code in reopened notebooks) was fixed in #977, which is included in release 0.2.8 as detailed in #988. Does that cover this, or would you still want a collapse-all button?

@vinniec
Copy link
Author

vinniec commented May 16, 2017

Ok, I've updated the extensions just now and the problem does not seem to appear anymore.
I tried with a single ipynb document but I do not think the problem will be repeated, thanks for supporting!

@juhasch
Copy link
Member

juhasch commented May 16, 2017

Thanks for reporting. Please keep us updated, if the problem appears again.

@juhasch
Copy link
Member

juhasch commented May 26, 2017

Closing as hopefully finally fixed.

@juhasch juhasch closed this as completed May 26, 2017
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