IntelliJ IDEA的输出窗口切断输出

时间:2012-08-01 16:55:50

标签: intellij-idea

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

我在设置中找不到它。

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

3 个答案:

答案 0 :(得分:129)

Preferences/Settings -> Editor -> General -> Console,选中Override console cycle buffer size旁边的框,设置为大于1024 KB的数字。

Screenshot of the Setting Window

答案 1 :(得分: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 

答案 2 :(得分:-5)

对于Windows更改终端shell路径:

  

文件 - >设置 - >工具 - >终端

从cmd.exe到:

public class User { String personName,personEmail; Uri personPhoto; public User() { } public User(String personName, String personEmail, Uri personPhoto) { this.personName = personName; this.personEmail = personEmail; this.personPhoto = personPhoto; } public String getPersonName() { return personName; } public void setPersonName(String personName) { this.personName = personName; } public String getPersonEmail() { return personEmail; } public void setPersonEmail(String personEmail) { this.personEmail = personEmail; } public Uri getPersonPhoto() { return personPhoto; } public void setPersonPhoto(Uri personPhoto) { this.personPhoto = personPhoto; } }