48

I wanted to know how to change the buffer size of the Terminal in IntelliJ IDEA? Can anyone help me which properties I should change?

informatik01
  • 16,038
  • 10
  • 74
  • 104
mahdi62
  • 959
  • 2
  • 11
  • 17

4 Answers4

70

The settings for the terminal window buffer size can be found in the IntelliJ registry.

You can find the registry through ctrl+shift+A and type Reg (or from the menu Help->Find Action...). You should see Registry... Click that.

Scroll down the registry and search for terminal.buffer.max.lines.count (you can also start typing 'term', it will take you there). It is set to 1000 lines out of the box, set it to what ever size suits you...

UPDATE FOR LATER VERSIONS OF Intellij

You can change the terminal scrollback buffer size here:

File » Settings » Advanced Settings » Terminal

You have to scroll down quite a way on the Advanced Settings page to get to Terminal but you should see Terminal scrollback buffer size:

theINtoy
  • 3,388
  • 2
  • 37
  • 60
12

As of IntelliJ IDEA 2021.2, this setting has been reintroduced. From the link provided in Günter Zöchbauer's comment:

This setting is now under Settings - Advanced Settings: Terminal > Terminal scrollback buffer size Image of the Terminal scrollback buffer size setting

Jaap
  • 641
  • 12
  • 19
10

Unfortunately not for the terminal, but for the console in Intellij IDEA Ultimate 2019.1:

  • open "File" => "Settings..." => "Editor" => "General" => "Console"
  • activate "Override console cycle buffer size" from its default value of 1024kB to your needs.
  • restart the IDE
Jochen Haßfurter
  • 875
  • 2
  • 13
  • 27
5

Add this line into idea.properties

terminal.buffer.max.lines.count = 20000

Terminal and console are different, the console configs do not effect terminal.

fasknifer
  • 51
  • 1
  • 3