Skip to content
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

Feature: Support vertical scrollbar (infinite-scrolling) in notebook outputs #417

Open
anovabr opened this issue Feb 15, 2025 · 4 comments
Labels
feature Feature request

Comments

@anovabr
Copy link

anovabr commented Feb 15, 2025

Environment data

  • VS Code version: 1.97.0
  • Data Wrangler Extension version (available under the Extensions sidebar): 1.18.2
  • Jupyter Extension version (available under the Extensions sidebar): 2024.11.0
  • Python Extension version (available under the Extensions sidebar): 3.11.9
  • OS (Windows | Mac | Linux distro) and version: Windows

Expected behaviour

When using notebooks and I have tables presented in a data viewer viewer, I should be able to use both vertical and horizontal bars to see all content. Actually, VSCode just provides a horizontal bar

Image

Actual behaviour

I just have a horizontal bar.

Steps to reproduce:

@pwang347
Copy link
Member

Hi @anovabr, thank you for opening this issue! Does increasing the page size to 50 work for you?

Image

Note that if you would like to always have a larger view without adjusting the page size, it is possible to configure this in the VS Code settings as well:

Image

--

Unrelated, but I'm also curious what VS Code theme you are using since it appears to be rendering with incorrect colours. Is it a custom one?

@anovabr
Copy link
Author

anovabr commented Feb 19, 2025

Hello, yes. It helps!! Do you intend to have a future update when it will be possible to add this vertical bar ?

I'm using GitHub Dark High Contrast from the Github themes. I was struggling to find a dark theme with nice colors, and that makes everything easy to capture. Suggestions are welcome !

@pwang347
Copy link
Member

@anovabr Great to hear! Also, thanks for letting me know about the theme - I'll take a look at a fix soon.

No great theme suggestions from me unfortunately, since I usually just stick with the boring default themes :-)
It's always neat to see how people customize their VS Code though.

--

About the vertical bar support, it's not currently planned but I'd be happy to keep this issue open to see if there's more interest and maybe we can support it as a setting.

In the meantime, if you assign that expression above to a variable and run code like this:

df = <your expression that produces a dataframe>
df

You should get a button in the cell status bar that allows you to view the DataFrame in a full window where the vertical scroll bar will be available.

Image

Hope this helps!

@anovabr
Copy link
Author

anovabr commented Feb 20, 2025 via email

@pwang347 pwang347 added feature Feature request and removed info needed labels Feb 21, 2025
@pwang347 pwang347 changed the title Vertical scroll bar -- vscode and Feature: Support vertical scrollbar (infinite-scrolling) in notebook outputs Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants