Visual Studio Code Scroll Back Buffer

Visual Studio Code Scroll Back Buffer

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.

2

4 Answers

  1. Go to menu File → Preferences → Settings.
  2. Search for scrollback.
  3. Overwrite "terminal.integrated.scrollback": 1000, (found in the left panel) with whatever you want in the right panel, e.g. 1000000.
5

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

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.