question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expect to see Code cells in Jupyter Outline/ToC

See original GitHub issue

Testing #133901

I expected to see Code cells in the ToC/Outline, like I do when I bring up the outline through the command palette.

To bring up the Outline via the command palette, press F1 then type in @. Note the differences in the content with the Outline view.

image

Part of the confusion for me was that initially I didn’t have any markdown (despite the instructions to test… who reads the manual ??) , just code and output, then the Outline view is empty and looks broken.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
jriekencommented, Sep 29, 2021

Problem with “real” symbols is that notebook code cells are often just variables and expressions and those traditionally don’t show in outlines

1reaction
miguelsoloriocommented, Sep 29, 2021

The problem I see is there are many places where we can show code cells: breadcrumbs, symbol viewer, and outline. If we decide to not show code cells in the outline then we should think about whether it makes sense to not show it in those other areas as well (for consistency). I actually don’t know how many notebook users would leverage those other features.

Would also love for an outline filter option from the view (similar to our other filters).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with Jupyter code cells in the Python Interactive window
Work with Jupyter-like code cells; Run code in the Python Interactive Window; View, inspect, and filter variables using the Variables Explorer and Data ......
Read more >
PyCharm - Run and debug Jupyter notebook code cells
With PyCharm you can always quickly preview reference documentation for a particular variable, type, or argument. To view reference information ...
Read more >
VS Code tips — Outline / table of contents for Jupyter notebooks
View and navigate through the structure of Jupyter notebooks with VS Code's outline viewThe outline shows a hierarchical list of cells in ...
Read more >
Running Code — Jupyter Notebook 6.5.2 documentation
First and foremost, the Jupyter Notebook is an interactive environment ... Run a code cell using Shift-Enter or pressing the button in the...
Read more >
Simple way to measure cell execution time in ipython notebook
See also Tim Peters' introduction to the “Algorithms” chapter in the Python Cookbook, published by O'Reilly. I hope that that module is still...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found