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?

Fabio says Reinstate Monica's user avatar

asked Apr 19, 2017 at 5:54

jeyanthinath's user avatar

jeyanthinathjeyanthinath

2,1512 gold badges17 silver badges22 bronze badges

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.

answered Apr 19, 2017 at 6:14

julian salas's user avatar

julian salasjulian salas

4,4301 gold badge23 silver badges20 bronze badges

4

  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

answered Jun 13, 2019 at 11:50

BartusZak's user avatar

BartusZakBartusZak

1,25316 silver badges22 bronze badges

5

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

answered Sep 2, 2020 at 14:35

Kagan Agun's user avatar

Kagan AgunKagan Agun

5891 gold badge6 silver badges7 bronze badges

Fastest way just in case:

  1. Hit Ctrl + , (or Cmd + , on Mac)
  2. Search for terminal.integrated.scrollback
  3. Update 1000 to something bigger like 1000000 (see warning below)

enter image description here

Warning:

After a year I noticed that resizing the left panel width of VScode was freezing the editor for a few seconds. I lowered this number from 100000000 to 1000000. If you notice your VSCode is lagging or freezing, choose a lower number here.

answered Apr 3, 2023 at 14:41

Pablo's user avatar

PabloPablo

1,12116 silver badges16 bronze badges

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.