When I use VSCode interactive Python, sometimes I get this message:
Output exceeds the size limit. Open the full output data in a text editor
This has links to settings and the text editor. However, the text editor, my usual option, is littered with unicode symbols that are not being rendered and is completely unreadable (it should be showing the traceback for an error).
Meanwhile, the settings do not contain a Max Output Size for Jupyter, which was suggested in this post: VS Code and Jupyter Notebook - how to open large output in text editor?
What can I do to get the traceback displayed in full?
CodePudding user response:
The Jupyter extension currently notes the following regarding the 'Max Output Size' setting:
This setting is deprecated in favor of
notebook.output.textLineLimit
. This setting will be removed in an upcoming release.
The setting they are referring to is 'Notebook > Output: Text Line Limit' which requires you to reload VSCode before changes are applied. Also note that the previous setting used 0 to indicate that the output is unlimited, while the new setting does not. So, if you want to see exceptionally large outputs, then you will need to fill in an enormous number. Personally, I limit my output to 1000 lines because I find that any output larger than that either should be split up or written to a file.