Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 272
jeyanthinath Avatar asked Apr 19 '17 05:04

jeyanthinath


People also ask

How do I set line length in Visual Studio Code?

In VSCode, go 'Code -> Preferences -> Settings' and search for "python formatting black args". A few notes about line lengths in Python: PEP8 recommends a line length of 79 characters (72 for docstrings) Black sets line lengths to 88 characters by default.

How do I remove line numbers in VS Code?

Open a source file in the editor. , and click either one of the available unnumber buttons as necessary. This removes any numbers and text that are in the area for the selected line numbering style.


2 Answers

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.

like image 97
julian salas Avatar answered Sep 17 '22 09:09

julian salas


  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

like image 21
BartusZak Avatar answered Sep 20 '22 09:09

BartusZak