问题
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?
回答1:
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.
回答2:
- Go to
File -> Preferences -> Settings
- Search for
terminal
and opensettings.json
Add new line to
settings.json
"terminal.integrated.scrollback": 100000000,
回答3:
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.
来源:https://stackoverflow.com/questions/43487492/change-the-number-of-lines-shown-in-visual-studio-codes-built-in-terminal