question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scroll settings are not honored in Native Notebook

See original GitHub issue

Environment data

  • VS Code version: 1.53-insider
  • Jupyter Extension version (available under the Extensions sidebar): 2020.12.414227025
  • Python Extension version (available under the Extensions sidebar): 2020.12.424452561
  • OS (Windows | Mac | Linux distro) and version: Ubuntu 20.10
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): NA
  • Jupyter server running: Local

Expected behaviour

The cell output will automatically scroll if the output is too long.

Actual behaviour

Cell output never scrolls even if I set:

  • "jupyter.enableScrollingForCellOutputs": true
  • "jupyter.maxOutputSize": 200

Steps to reproduce:

for i in range(10000):
    print(i)

scroll ]

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:15
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
XiaomoWucommented, Jan 27, 2021

Hi @greazer I’m so happy to see the virtual scrolling is back to the Native Editor! Yes 500 lines seem a bit too long, I would expect a more JupyterLab like behavior, like 20 lines or so.

Automatic scrolling with a configurable max lines parameter would definitely be appreciated. It’s especially handy when I have long, continuing output, like doing deep nets training. But manually turn on/off for each cell would also be okay for me at the moment.

Thank you for all the hard work that makes VS Code awesome!

2reactions
bycncommented, Nov 3, 2022

+1 The lack of automatic scroll for large outputs is a big pain point compared to standard jupyter.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Impossible to scroll Ipython (not notebook!) while producing ...
To scroll on tmux press ctrl+b and then [, so that you can enter the ... and then use arrows or page up/down...
Read more >
How to Fix it When Your Mouse Scroll is Not Working - javatpoint
In the Mouse Properties box, click the Wheel tab. Then try scrolling one page at a time with the mouse or altering the...
Read more >
Touchpad gestures not working in windows 10
All I can do on the trackpad is move the mouse and left or right click. No scrolling, no two or three-finger gestures,...
Read more >
Change Appearance settings on Mac - Apple Support
To momentarily switch between scrolling methods while working, press and hold the Option key while clicking the scroll bar. To make items on...
Read more >
How to reverse mouse and touchpad scrolling direction on ...
If you use a mouse to navigate the Windows 10 desktop, the Settings app does not include an option to reverse the scrolling...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found