Where is the table of contents in Jupyter notebooks?

Answered

I'm coming from R and RStudio where a built-in navigation pane can be expanded to navigate the .Rmd files: it takes all the various levels of headers, indents them appropriately and creates a list of clickable links that get you to the desired header in the document. It also colors the heading/section you're currently in.

I can't find it on PyCharm when in a Jupyter notebook, and couldn't find any documentation on this. Does it not exist??

 

EDIT: while on the subjects of Jupyter notebooks in PyCharm, the hyperlinks are not working. Meaning that `[link](http://url.com)` will correctly render as a blue underlined hyperlink titled "link", but when hovering on it on the preview pane, the cursor will flicker very rapidly between arrow and pointy finger. Clicking the link is impossible. It's working perfectly when opening the .ipynb in the browser with Jupyter notebook. Is this a known bug?

0
4 comments

Hello, 

this is not available, please vote for the corresponding feature request https://youtrack.jetbrains.com/issue/PY-34319 in order to increase its priority. 

 

Regarding links rendering there is an existing issue https://youtrack.jetbrains.com/issue/PY-41752 please see the workaround. 

 

I apologize for the inconvenience. 

0

Hi Antonina,

Thanks for your quick answer. I've voted for the feature request. I also found that there is a PyCharm DS that is currently under development and have submitted to the EAP. I hope that the Jupyter notebooks handling will be better there, for now it is my biggest problem with PyCharm :(

As for the problem with links I was not clear enough in describing it, as the YouTrack issue does not match what I'm experiencing. I've reproduced the problem in the gif below:

1

Antonina Belianskaya Should I open a new issue for what I'm describing above in the gif?

0

Hi,

This is a known issue https://youtrack.jetbrains.com/issue/PY-44437, but I see that you already found it.

0

Please sign in to leave a comment.