kylebarron / vscode-jupyter-python

Run automatically-inferred Python code blocks in the VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=kylebarron.vscode-jupyter-python
MIT License
37 stars 3 forks source link

Enh: Add scroll down when running selection #3

Closed alejohz closed 1 year ago

alejohz commented 1 year ago

Hey, first of all thank you for developing this great extension.

It would be really nice to have an automatic scroll down when pressing shift + enter.

As you can see, code still runs below the editor's current visual frame. vs code ext

kylebarron commented 1 year ago

this might be a duplicate of #2?

kylebarron commented 1 year ago

I can't really tell what the issue is from your screenshot

alejohz commented 1 year ago

Thank you for addressing this so quickly. Sorry the gif has so bad resolution, but it is due to github upload restrictions. The "issue" but it is actually an enhancement, is because when you are shift entering content that is lower than your visual frame, it keeps executing but the window stays static. The gif exemplifies that when shift + entering from line 0 to 40, all is well, but after line 40, code keeps executing and cursor keeps going down when shift + entering, but the window does not scroll down thus you don't know what you are executing anymore and have to dropdown manually.

As i stated originally and in the title, this is an enhancement and QoL improvement.