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?
asked Apr 19, 2017 at 5:54
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:
Change numbers of line as you want. That is it.
answered Apr 19, 2017 at 6:14
julian salasjulian salas
4,4301 gold badge23 silver badges20 bronze badges
4
- Go to
File -> Preferences -> Settings
- Search for
terminal
and opensettings.json
Add new line to
settings.json
"terminal.integrated.scrollback": 100000000,
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.
Fastest way just in case:
- Hit Ctrl + , (or Cmd + , on Mac)
- Search for
terminal.integrated.scrollback
- Update
1000
to something bigger like1000000
(see warning below)
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.
Explore related questions
See similar questions with these tags.