26

I recently started using the terminal window inside of IntelliJ IDEA so that I don't context switch between IDE and the Mac terminal window.

On my Mac terminal, I had set "unlimited scrollback" to true which means that when I am running my unit tests, I can scroll through the entire run.

Now inside of IntelliJ terminal, when I run my tests, it truncates the output and therefore I cannot go to the beginning of the test run.

I tried looking in the settings, but I didn't find anything which will give me a unlimited scrollback.

LazyOne
  • 158,824
  • 45
  • 388
  • 391
Knows Not Much
  • 30,395
  • 60
  • 197
  • 373
  • Maybe this helps (searching for "buffer size"): https://stackoverflow.com/questions/7836313/how-to-stop-intellij-truncating-output-when-i-run-a-build – Narigo May 31 '17 at 08:03

2 Answers2

22

you can increase the lines of the terminal if you desire: In intellij goto the registry (press cntrl+shift+a and write registry, and click it). look for: terminal.buffer.max.lines.count and increase it from the 1000 lines it has. (I entered 9999 and for my runs it did the job)

Amichai Ungar
  • 292
  • 2
  • 5
  • 1
    there is no registry on linux and macs – Knows Not Much Sep 28 '17 at 14:14
  • 6
    [Better late than never] The "registry" here is _not_ the Windows registry; instead this is an Intellij-specific configuration registry, much like Firefox's about:config "registry" page – Steve Byrne Apr 14 '19 at 18:00
  • it seems that key got removed - at least here in phpstorm 2019.3 I don't have this setting (it is sorted alphabetically, right?) – iRaS Feb 07 '20 at 10:25
  • 1
    ah sorry - it is not sorted alphabetically: already changed values are on the top :smile: – iRaS Feb 07 '20 at 10:28
8

This setting was moved in UI starting 2021.2, you can find it at Settings | Advanced Settings: Terminal > Terminal scrollback buffer size

enter image description here

Source Link for the answer: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206381169/comments/4405562193298

Sai Chander
  • 829
  • 1
  • 6
  • 15