IntelliJ IDEA的输出窗口切断输出

exp*_*ert 132 intellij-idea

看起来它显示的行数有限制.

我在设置中找不到它.

有没有办法让IDEA在输出窗口中保留所有内容?

小智 150

您也可以从IntelliJ设置更改.

覆盖控制台循环缓冲区大小将覆盖指定的大小Preferences/Settings -> Editor -> General -> Console

设置窗口的屏幕截图

  • 这是什么版本的IntelliJ?我在版本14中没有编辑器>常规下的控制台.事实上,我的常规子元素与屏幕截图的*非常*不同. (2认同)
  • 这是比上面选择的答案更好的答案,因为它将处理IDEA的更新而不会产生idea.properties文件的冲突. (2认同)

exp*_*ert 126

无法获得更多投票来结束这个问题所以我必须自己回答.

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 
Run Code Online (Sandbox Code Playgroud)

  • 对于我的发行版(OS X),它是`vi"/ Applications/IntelliJ IDEA 14 CE.app/Contents/bin/idea.properties"` (9认同)
  • 它是否也适用于终端窗口? (5认同)
  • @bharal它在评论中说它是Kb. (4认同)