jtpio/jupyterlab-python-file

feature: code folding for python code (def, class, etc)

ArcticSnow opened this issue · 2 comments

Thanks for this great extension. This is not an issue but rather a feature idea.

Is there a way to obtain code folding for Python file, liek folding code blocks of one indentation level? Is that something that would depend on this extension, or would that be at another place in Jupyter lab?

jtpio commented

Thanks @ArcticSnow for filing the issue.

This is indeed more related to JupyterLab itself and its code editor.

There is an option in the settings to enable code folding that should work with any file (not only Python):

code-folding

Hope this helps!

Thanks a lot @jtpio ! This works perfect