Output window of IntelliJ IDEA cuts output [duplicate]
Asked Answered
F

2

231

Looks like there is a limit on the number of lines it shows.

I couldn't find it in the settings.

Is there a way to make IDEA keep everything in the Output window?

Fugato answered 1/8, 2012 at 16:55 Comment(0)
J
296

Preferences/Settings -> Editor -> General -> Console, check the box next to Override console cycle buffer size, set to a larger number than 1024 KB.

Screenshot of the Setting Window

Joleen answered 19/11, 2015 at 9:43 Comment(5)
What version of IntelliJ is that? I don't have Console under Editor > General in version 14. In fact, my General sub-elements are very different than the screen shot.Parclose
@Parclose IntelliJ IDEA 15.0.6 on Mac has all of those settingsBasseterre
This is a better answer than the chosen answer above, since it'll handle updates of IDEA without getting a conflict of the idea.properties-file.Paradisiacal
Not effective on phpstorm 2019.1, why ???Blackwell
Worked for me. The max number of KB that work without intelliJ warning that "large buffer size can cause performance degradation" is 20480, at least on my computer and intelliJ version.Mcrae
F
139

Couldn't get more votes to close the question so I have to answer it myself.

IDEA_HOME\bin\idea.properties

#-----------------------------------------------------------------------
# This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb). Older lines are deleted.
# In order to disable cycle buffer use idea.cycle.buffer.size=disabled
idea.cycle.buffer.size=1024 
Fugato answered 26/10, 2012 at 23:45 Comment(8)
is this kilobytes or megabytes?Decameter
@Decameter It says in comment that it's Kb.Fugato
See comment in file: # This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb). # Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled Also, remember to udpaet settings after upgrade (like 12-> 13) as it creates new .propertiesDemibastion
For my distro (Arch), idea.properties is located at /usr/share/intellij-idea-ultimate-edition/bin/idea.properties. Note that for Linux (unlike Mac) you don't need to create a copy of this file.Funambulist
For my distro (OS X) it was vi "/Applications/IntelliJ IDEA 14 CE.app/Contents/bin/idea.properties"Beanery
idea.cycle.buffer.size=disabled worked for me +1.Reorder
Does it works also for the terminal window?Johnnie
Looks like it doesn't.Disqualify

© 2022 - 2024 — McMap. All rights reserved.