vscode-sync-scroll icon indicating copy to clipboard operation
vscode-sync-scroll copied to clipboard

Does not work with Jupyter Notebooks

Open hovo1990 opened this issue 5 years ago • 4 comments

Hi, Thanks for the extension. I am trying to use with jupyter notebooks, unfortunately, it does not work. Is there anything that can be done?

hovo1990 avatar Jan 20 '21 06:01 hovo1990

Hi, Thanks for the extension. I am trying to use with jupyter notebooks, unfortunately, it does not work. Is there anything that can be done?

Hey there, thanks for using it! I think I can help a bit. Could you please provide more information like what's the language mode(you can find it on the statusbar) of your jupyter notebooks and did you use another extension for that file format? And were you trying to scroll two jupyter notebooks synchronically or with another type of file?

dqisme avatar Jan 20 '21 14:01 dqisme

Hi @hovo1990 and @dqisme, I'd also like to use the extension in combination with jupyter notebooks.

To answer your questions: Typically when working with .ipynb files you'll open them using the Jupyter extension and the Python extension. When using the Jupyter extension a lot of functionalities, appearence and shortcuts of vs code will change. The language mode that is usually displayed in the bottom right corner isn't shown when opening a .ipynb file. Also the sync scroll settings that are usually displayed next to the language mode will disappear if one of the editor groups has a .ipynb file open.

Status bar while two text files are opened: grafik

Status bar while one text file and one .ipynb file are opened: grafik

I guess that's not relly news for you, but I thought I'd still share them and ask if jupyter notebook support is planned for the future?

JanRaber avatar Mar 20 '21 15:03 JanRaber

@JanRaber Thanks for providing more information. I will try to reproduce it as you mentioned here for debugging. Meanwhile, I would suggest using the commands "Change Sync Scroll Mode", "Toggle Sync Scroll" in the Show All Commands (or, default shortcut, ⌘ + Shift + P) as a workaround. Hope this can help a bit. :)

dqisme avatar Apr 03 '21 22:04 dqisme

would suggest using the commands "Change Sync Scroll Mode", "Toggle Sync Scroll" in the Show All Commands (or, default shortcut, ⌘ + Shift + P) as a workaround.

@dqisme, This work-around does not work. I see the status bar correctly, but there is just no effect in Jupyter Notebooks.

Is this difficult to fix?

StendertBroos avatar Jul 01 '22 10:07 StendertBroos