更改 VisualStudio 代码的内置终端中显示的行数

我使用的终端是集成在 VisualStudio 代码中的。当我向上滚动时,它会显示前面的行,但它们对我来说还不够。我需要看到更多的线条。

如何增加 VS 代码中终端显示的总行数?

76413 次浏览

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.

  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

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