Visual Studio Code scroll back buffer

Visual Studio-Code

Visual Studio-Code Problem Overview


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.

Visual Studio-Code Solutions


Solution 1 - Visual Studio-Code

  1. Go to menu FilePreferencesSettings.
  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.

Solution 2 - Visual Studio-Code

here is how i solved it:

ps: remember to open a new terminal for changes to take effect:

enter image description here

Solution 3 - Visual Studio-Code

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionKeithView Question on Stackoverflow
Solution 1 - Visual Studio-CodetocallaghanView Answer on Stackoverflow
Solution 2 - Visual Studio-CodeEdwin O.View Answer on Stackoverflow
Solution 3 - Visual Studio-CodewilrnhView Answer on Stackoverflow