Eclipse的控制台console有时候经常的跳出来,尤其是在调试期间跳出,非常的烦人!
我们已经受够了,为了不再看见它,可以按下面的操作去掉它:
windows -> preferences -> run/debug -> console


在右边面板去掉”Show when program writest to standard out”和”Show when program writes to standard error”两个多选框,分别的意思是,当程序有在标准输出时就跳出console和当程序有错误抛出时就跳出console。
然后重启Eclipse。
当然这个选项卡中还可以设置console中的输出字符长度,有时候由于console中输出的数据过多而会将前面的数据覆盖掉而看不到你想要看的结果。你可以通过设置console buffer size(characters) 这个值来设置。
网友评论