本文翻译自:How do I increase the capacity of the Eclipse output console?
Even with the "scroll lock" option enabled for the Eclipse console, eventually it overfills and starts auto-scrolling on me. 即使为Eclipse控制台启用了“滚动锁定”选项,它最终仍会溢出并开始对我进行自动滚动。
Is there some way of increasing the capacity of the console so that it stores more lines? 有什么方法可以增加控制台的容量,以便存储更多行? I wasn't able to find the option. 我找不到该选项。
#1楼
参考:https://stackoom.com/question/Brl1/如何增加Eclipse输出控制台的容量
#2楼
窗口>首选项,转到“运行/调试>控制台”部分>>“限制控制台输出。>>控制台缓冲区大小(字符):”(此选项在Eclipse Indigo中可见,但将缓冲区大小限制为1,000,000)
#3楼
For CDT users / C/C++ build , also adjust the setting 对于CDT用户/ C / C ++构建 ,还可以调整设置
in Window > Preferences 在窗口>首选项中
under C/C++ > Build > Console (!) 在C / C ++>构建>控制台(!)下
(This time in number of lines.) (这次是行数。)
This also affects the "CDT Global Build Console". 这也会影响“ CDT全局构建控制台”。
#4楼
Open the Windows > Preferences menu. 打开Windows>首选项菜单。
Expand the Run/Debug > Console preferences. 展开运行/调试>控制台首选项。
Set the Console buffer size (characters)
to something much bigger. 将Console buffer size (characters)
为更大。 2147383647
/ ~2GB is the upper limit (or 1000000
/ ~1MB in older releases). 2147383647
/ 2147383647
是上限(或在旧版本中为1000000
/ 2147383647
)。 Or just uncheck the Limit console output
. 或者只是取消选中“ Limit console output
。
#5楼
Under Window > Preferences
, go to the Run/Debug > Console
section, then you should see an option "Limit console output." 在“ Window > Preferences
,转到“ Run/Debug > Console
部分,然后您将看到一个“限制控制台输出”选项。 You can uncheck this or change the number in the "Console buffer size (characters)" text box below. 您可以取消选中此选项,也可以在下面的“控制台缓冲区大小(字符)”文本框中更改数字。
(This is in Galileo, Helios CDT, Kepler, Juno, Luna, Mars, Neon, Oxygen and 2018-09) (这是在伽利略,太阳神CDT,开普勒,朱诺,露娜,火星,霓虹灯,氧气和2018-09年)
#6楼
Under Window > Preferences, go to the Run/Debug > Console section, then you should see an option "Limit console output." 在“窗口”>“首选项”下,转到“运行/调试”>“控制台”部分,然后您应该看到一个“限制控制台输出”选项。 You can unchecked this or change the number in the "Console buffer size (characters)" text box below. 您可以取消选中此选项,也可以在下面的“控制台缓冲区大小(字符)”文本框中更改数字。 Do Unchecked. 取消选中。
This is for the Eclipse like Galileo, Kepler, Juno, Luna, Mars and Helios. 这适用于像Galileo,Kepler,Juno,Luna,Mars和Helios这样的Eclipse。