Leigh Martin
Leigh Martin

Reputation: 1

Jumping between bookmarked ipython notebook cells in VSCode

In large ipython notebooks (.ipynb files), it is tedious to constantly scroll up and down among cells that are far away in a notebook. In regular text files (like .py files), one can 'bookmark' lines of code using markers (via vim keybindings). However markers don't let you jump between .ipynb cells. Is there another way to quickly jump between cells?

Typical vim keybindings for placing markers only work within a cell, but not for jumping between cells. Organizing a notebook with markdown headings and code folding make navigation faster, but the process is still very slow compared to using vim markers. Jump up one cell at a time works, but it can then require dozens of keystrokes to find the target cell. I also came across a 'table of contents' plugin for VSCode + Jupyter notebooks, but a) commenters say it doesn't work anymore b) this requires using the mouse for navigation, not keyboard.

Upvotes: 0

Views: 307

Answers (1)

emre kurtoglu
emre kurtoglu

Reputation: 21

Apparently, there is such built-in feature in VSCode at the bottom left panel:

enter image description here

Credits to this comment.

Upvotes: 0

Related Questions