-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep viewpoint (don't scroll) when Shift+Enter is pressed #5186
Comments
Thanks for the suggestion. We should probably push this to VS code itself as they're taking ownership of the UI an scrolling. |
Current behavior of extension (insiders) seems identical now to Jupyter classic scrolls when shift-enter is pressed. However, there is still a difference in behavior that I think could account for what @CavalloneChen is describing. In this gif, notice that Jupyter classic prioritizes on keeping the user looking at the same location in the notebook. VS Code is optimizing for seeing the latest output. This almost feels like it could be a setting as either behavior is reasonable. |
Agreed that this could be a setting. I think defaulting to the behavior seen in Jupyter Lab would be best though, meaning prioritizing not scrolling |
adding this as part of microsoft/vscode#191086, we'll track it through there. |
In jupyter-lab, this is the default behavior.
When long cell output is generated, current behavior leads to a big jump of the viewpoint. And I often found myself in a situation where I have to scroll to find my current location.
The text was updated successfully, but these errors were encountered: