I’d like to request a feature to jump directly to a specific cell in a Jupyter notebook when clicking a reference like path/to/notebook/file.ipynb:cell 38:13:5 in VS Code, similar to how path/to/file.py:123 navigates to a line in a Python file.
Use Case:
When formating/linting notebooks, I receive references in the format file.ipynb:cell X:Y:Z (from ruff in my case), where X is the cell number, and Y:Z are line/column positions within the cell. Currently, I can open the notebook by clicking the file path, but I must manually navigate to the cell, which is time-consuming for notebooks with many cells.
Proposed Feature:
Enable Ctrl+click (or similar) on a reference like file.ipynb:cell 38:13:5 to:
- Open the notebook if not already open.
- Jump to cell 38 (1-based indexing).
- Optionally, focus on line 13, column 5 within the cell’s content, if feasible.
Support this in the editor, terminal, or other clickable contexts (e.g., Output panel).
I’d like to request a feature to jump directly to a specific cell in a Jupyter notebook when clicking a reference like
path/to/notebook/file.ipynb:cell 38:13:5in VS Code, similar to howpath/to/file.py:123navigates to a line in a Python file.Use Case:
When formating/linting notebooks, I receive references in the format file.ipynb:cell X:Y:Z (from
ruffin my case), where X is the cell number, and Y:Z are line/column positions within the cell. Currently, I can open the notebook by clicking the file path, but I must manually navigate to the cell, which is time-consuming for notebooks with many cells.Proposed Feature:
Enable Ctrl+click (or similar) on a reference like
file.ipynb:cell 38:13:5to:Support this in the editor, terminal, or other clickable contexts (e.g., Output panel).