Change the number of lines shown in Visual Studio Code's built-in Terminal

TerminalVisual Studio-Code

Terminal Problem Overview


I'm using the terminal which is integrated in Visual Studio Code. When I scroll up it shows the previous lines, but they are not enough for me. I need to see more lines.

How can I increase the total number of lines that are displayed by the terminal in VS Code?

Terminal Solutions


Solution 1 - Terminal

There is a way to change number of lines for that you have to go:

> file-->preferences-->configuration

Then, it will open file settings.json you should to search Integrated terminal and then you search for terminal.integrated.scrollback copy and paste this sentence on your user configuration so like this:

enter image description here

Change numbers of line as you want. That is it.

Solution 2 - Terminal

  1. Go to File -> Preferences -> Settings

terminal_limit_exceaded_menu

  1. Search for terminal and open settings.json

terminal_limit_exceaded

  1. Add new line to settings.json

      "terminal.integrated.scrollback": 100000000,
    

terminal

Solution 3 - Terminal

Visual Studio Code Version 1.47.3, You can do it in Files --> Preferences --> Settings then select Feature/Terminal menu. Find the "Integrated:Scrollback" property and change it. Save the settings.

enter image description here

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
QuestionjeyanthinathView Question on Stackoverflow
Solution 1 - Terminaljulian salasView Answer on Stackoverflow
Solution 2 - TerminalBartusZakView Answer on Stackoverflow
Solution 3 - TerminalKagan AgunView Answer on Stackoverflow