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

倖福魔咒の 提交于 2021-02-04 11:09:25

问题


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:


  1. Go to File -> Preferences -> Settings

  1. Search for terminal and open settings.json

  1. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!