I am using VS Code to do python programming and currently extracting data from a mongoDB database. the data is in base64 format and i am trying to get the whole string. Unfortunately, only 8303 out of 133728 characters are shown in VS Code terminal when I execute the code.
Is there a setting in VS Code to show the complete base64 string?
Any recommendation will help. Thanks!
2
Answers
I don’t know about vscode, but for an output that big it would probably be more convenient to write it to a file.
Assuming the variable that holds your data is called
result
, you can try something like:Here’s how you can increase the limit on the number of characters that can be displayed in the VS Code terminal:
You can modify the value to a higher number.
Save the settings and restart VSCode.
After increasing the
terminal.integrated.scrollback
setting, you should be able to see more characters in the VS Code terminal when you execute your code.