Output truncated with no way to view all output in the notebook itself
See original GitHub issueIssue Type: Bug
Since the 1.59 update the output of cells in an interactive python window is truncated if it is longer than 30 lines. The setting ‘jupyter.textOutputLimit’ is not respected, and I couldn’t find another way to change this behaviour. This is extremly annoying as the ‘show more’ option only brings up the output unformatted, which isn’t usable for long outputs. I think previously this was solved with a scroll bar which worked perfectly.
Extension version: 2021.8.1105858891 VS Code version: Code 1.59.0 (379476f0e13988d90fab105c5c19e7abc8b1dea8, 2021-08-04T23:13:20.182Z) OS version: Linux x64 5.4.0-80-generic Restricted Mode: No Remote OS version: Linux x64 5.11.22-100.fc32.x86_64 Remote OS version: Linux x64 5.11.22-100.fc32.x86_64
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805:30301674
pythonvspyt200:30340761
vscextlangct:30333562
binariesv615:30325510
vsccppwt:30329788
pythonvssor306:30344512
bridge0708:30335490
pygetstartedc2:30351386
vstre464cf:30350173
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:12 (7 by maintainers)
Top GitHub Comments
@KRiedmiller thanks for the feedback! While it’s being discussed on our end, in the meantime you can work around this a bit by adjusting this setting:
Setting to 0 will cause the truncation to be disabled all together.
Also the raw json format of data that is shown in a separate file when clicking on the “show more” link will be fixed in the next release of VS Code.
We understand that your desire is to support just showing more in the same cell output.
I just wanted to add that setting textLineLimit to as “notebook.output.textLineLimit”: 0 doesn’t have the expected effect.
I also tried really high numbers (e.g. 5000), but there still seems to be an internal limit.
I’m using the pytorch lightning advancer profile which spits out a lot of information and I cannot see the information I’d like to see since it truncates at some point.