Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA terminal unlimited scrollback

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.

like image 927
Knows Not Much Avatar asked Feb 10 '17 15:02

Knows Not Much


People also ask

How do I increase terminal buffer size in IntelliJ?

open "File" => "Settings..." => "Editor" => "General" => "Console" activate "Override console cycle buffer size" from its default value of 1024kB to your needs. restart the IDE.

How do I get full console log in IntelliJ?

In the run/debug configuration that will be used for launching the app, click the Logs tab. The Edit Log Files Aliases table displays the list of log files. Select Save console output to file Specify the path to the file.

How do I open multiple terminals in IntelliJ?

Opening Multiple Terminal Sessions For this, we can split our terminal window by right-clicking on it and selecting one of the options so that we can run two in the same window. For example, you can open up the mongo shell in this split window and can see if the commands have any impact on the running server.

How do I clear the terminal console in IntelliJ?

Press Ctrl+L in the built-in terminal in IDE. It clears the terminal. Go to "Settings | Keymap" and remove Ctrl+L keyboard shortcut from "Plugins | Terminal | Clear Terminal" action.


1 Answers

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)

like image 126
Amichai Ungar Avatar answered Sep 23 '22 05:09

Amichai Ungar