You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great extension but noticed anchors in jupyter notebooks do not really work.
Steps to reproduce:
Set an anchor in a jupyter notebook
Set a link to that anchor e.g from a python file
Actual:
When clicking on the link it opens the notebook and shows the top of the notebook.
Expected:
Should also scroll to the anchor which could be in any of the markdown/code editors in the notebook and highlight the anchor.
Purpose:
This would be useful because I have not seem any native vscode functionality or extension that can do this and significantly helps with navigation into notebook code.
Did some googling, and I believe adopting below two resources, with comment anchors existing linking to the file working, should allow it to move to the editor that has the anchor.
Great extension but noticed anchors in jupyter notebooks do not really work.
Steps to reproduce:
Actual:
When clicking on the link it opens the notebook and shows the top of the notebook.
Expected:
Should also scroll to the anchor which could be in any of the markdown/code editors in the notebook and highlight the anchor.
Purpose:
This would be useful because I have not seem any native vscode functionality or extension that can do this and significantly helps with navigation into notebook code.
Did some googling, and I believe adopting below two resources, with comment anchors existing linking to the file working, should allow it to move to the editor that has the anchor.
Loop through notebook cells code
https://github.com/xelad0m/vscode-jupyter-toc/blob/main/src/extension.ts
Notebook editor reveal range
https://code.visualstudio.com/api/references/vscode-api#NotebookEditor
However, I lack vscode extensions development experience so will take me quite long to implement.
The text was updated successfully, but these errors were encountered: