-
Notifications
You must be signed in to change notification settings - Fork 270
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
Jupyter notebook cell code folding and output view expanding request #1629
Comments
Thanks for the feedback @matthewgson . We'll discuss this on our next triage. |
@deepaksood619 this feature theoretically already exists (see vscode settings |
'VSCode Great Icons' has a .ipynb icon for the explorer. The ico they are using is https://jupyter.org/favicon.ico. But for some reason it doesn't work in the editor tab. |
Hi, any new developments on the expandable outputs issue? IMO that is one of the most useful features of Jupyter Notebooks/ Jupyter Lab, especially when showing plots. |
Hey everyone, this feature is available on our revamped notebooks preview. You can try it out here: https://devblogs.microsoft.com/python/notebooks-are-getting-revamped/ |
That page says nothing about code folding. How do I use it? |
@peter-ch in the new notebook interface there are commands and keybindings to collapse both the input and output sections of any cells. Is that what you are looking for? Example of a collapsed code section (with expand icon) shown below. |
I'm looking for the functionality to collapse code blocks. I can see on this page that it is present https://devblogs.microsoft.com/python/notebooks-are-getting-revamped/ |
@peter-ch If you are using VS Code - Insiders you should get the now notebook interface by default. In that interface I don't believe that there are actually buttons to do the collapse. There is instead a keybinding and a vscode command to collapse them. The button to expand back out only shows up after collapsing them. |
Yes, thanks, I just realized I wasn't using the insiders build. It works. |
Is there any info on when the new notebook interface will be pushed to the main VS Code build? |
This is amazing! Thanks for making JupyterNotebook cell and their input/output Collapseable. |
This is awesome. When is it being added to the main build? |
We're working hard on that right now! Unfortunately we don't have an exact date. I'll add that we are keeping up with this API. When that releases on stable, we'll follow suit as soon as possible. |
Closed as the new Notebook UI is fully released now. |
Feature: Notebook Editor, Interactive Window, Python Editor cells
Description
This feature request is similar to microsoft/vscode-python#10503. I hope vscode jupyter notebook may allow the code cell to be folded as in .py code editor in VScode, and fold the output panel as in Jupyterlab (this is done when a user clicks left margin of the cell). It would be great if it adds an option to show code line number within the cell, but maybe it is not crucial.
On the other hand, output panel is forced to be viewed through scrolling if it is too big. I hoping that there's an option (possibly by right-click) to expand the output so that users can view the whole output handy.
Also a minor fix:
Please replace file icon on the tab to Jupyter icon.
(Edit : I'm currently using vscode-icons package from vscode teams. The icon disappears when it renders .ipynb)
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer
The text was updated successfully, but these errors were encountered: