Is there a way to control how many lines can be in the scroll back buffer?
I need a few thousand lines. I'm writing testing code and have extensive output going to a log, but I have simple pass / fail results to the console.
The validations for each test print to the console. I may have 150 to 250 tests per suite, but say 8+ validations per test. I'd rather not open a full terminal window as this integrated environment is cleaning up my screen quite a bit.
4 Answers
- Go to menu File → Preferences → Settings.
- Search for
scrollback. - Overwrite
"terminal.integrated.scrollback": 1000,(found in the left panel) with whatever you want in the right panel, e.g.1000000.
here is how i solved it:
ps: remember to open a new terminal for changes to take effect:
In Settings, set Terminal.integral.scrollback to -1
I think this is a setting of the terminal application you are using, e.g. Terminal.app on OS X or (default) xterm on Linux. If you modify the scrollback limit in those applications it should be reflected in Visual Studio Code.
I opened this to ask the Visual Studio Code guys for verification: Integrated terminal unlimited buffer #14320