看起来它显示的行数有限制。
我在设置中找不到它。
有没有办法让IDEA将所有内容保留在“输出”窗口中?
答案 0 :(得分:129)
Preferences/Settings -> Editor -> General -> Console
,选中Override console cycle buffer size
旁边的框,设置为大于1024 KB的数字。
答案 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;
}
}