调整 Eclipse 控制台大小

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2600653/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 19:18:38  来源:igfitidea点击:

Adjusting Eclipse console size

eclipse

提问by aherlambang

In Eclipse, how do you adjust the maximum lines in the console window? My program outputs 2000 lines of numbers and Eclipse truncates it so therefore I am missing some numbers.

在 Eclipse 中,如何调整控制台窗口中的最大行数?我的程序输出 2000 行数字,Eclipse 会截断它,因此我遗漏了一些数字。

It says here:

它在这里说:

http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/preferences/run-debug/ref-console.htm

http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/preferences/run-debug/ref-console.htm

that it's under run/debug > console, but I don't see that option anywhere.

它在 下run/debug > console,但我在任何地方都看不到该选项。

回答by Mel

In Window > Preferences > Run/Debug > Console, there's a checkbox "Limit console output" and a text field for entering the buffer size of the console.

在 中Window > Preferences > Run/Debug > Console,有一个“限制控制台输出”复选框和一个用于输入控制台缓冲区大小的文本字段。

Have never changed those settings myself but sounds like this could be what you are looking for. I am using Eclipse 3.3.2.

我自己从未更改过这些设置,但听起来这可能正是您要找的。我正在使用 Eclipse 3.3.2。

回答by Bozho

Right click on the console > Preferences > Console buffer size

Right click on the console > Preferences > Console buffer size

If you don't want any limit, uncheck the "Limit console output" checkbox.

如果您不想要任何限制,请取消选中“限制控制台输出”复选框。

Mine is currently set to 800000, which is enough.

我的目前设置为800000,已经足够了。

回答by loonix

I had a similar problem with my c++ build console. This is set in Preferences->C/C++->Build->Console

我的 c++ 构建控制台也有类似的问题。这是在 Preferences->C/C++->Build->Console 中设置的

回答by Fahim Faysal

Same thing I also forgot every time. Step 1: form toolbar click on 'window' then 'preference' step 2: go'run/Debug' form lift side of preference window and select 'console' step 3: In right side of windows increase the size of 'Console buffer size(characters)' step 4: click ok to exit [window -->preference -->run/Debug -->console -->Console buffer size(characters)]enter image description here

同样的事情我也每次都忘记了。第 1 步:窗体工具栏单击“窗口”,然后单击“首选项” 第 2 步:转到“运行/调试”窗体提升首选项窗口的一侧并选择“控制台”第 3 步:在窗口右侧增加“控制台缓冲区大小”的大小(characters)' 第 4 步:点击确定退出 [window -->preference -->run/Debug -->console --> Console buffer size(characters)]在此处输入图片说明

回答by Saleem Halipoto

Later versions of eclipse should have it under Eclipse > Preferences > Run/Debug > Console. Then uncheck the "Limit console output" box.

更高版本的 Eclipse 应该在 Eclipse > Preferences > Run/Debug > Console 下有它。然后取消选中“限制控制台输出”框。