-
Notifications
You must be signed in to change notification settings - Fork 290
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
Wrap list and dictionary output #2977
Comments
Without viewing long lists all that much, i feel like not wrapping as the default seems better. It is more often you are aren't look at all the values and i think it would clutter up the output area in every case, instead of just when you want to read it. Open to change my mind if you can share some examples. |
I agree that it would make scanning all key-values harder if wrapped by default. A toggle in the right hand corner would be better then. I can't share my actual data, but I am dealing with tables with 100+ columns, and each column has lots of text. This is what it looks like when I try to view a selected row as a dict: It would be really helpful if it was wrapped, similar to what viewing a large JSON document in a web page looks like. |
Yea, this can be hard to parse, maybe we can support different views. You can check out https://jsonhero.io/ for some inspiration |
I was thinking a "Wrap text" toggle on the right hand corner would suffice for my use case. Can open a PR later this week if so, otherwise we can scope it out some more |
Description
The values for my dictionary keys are really long and it's awkward to scroll a string horizontally to read it.
Suggested solution
Can cell outputs for lists and dictionaries be wrapped by default?
Alternative
A toggle in the cell output (or context menu) to wrap cell output.
Additional context
No response
The text was updated successfully, but these errors were encountered: