Java 你如何阻止控制台在 Eclipse 中自动弹出
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4462520/
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
How do you stop Console from popping up automatically in Eclipse
提问by code511788465541441
I have a web application running in Eclipse with Tomcat. It has a few errors that make the console popup every few seconds. How do I stop it from automatically popping up and taking focus?
我有一个使用 Tomcat 在 Eclipse 中运行的 Web 应用程序。它有一些错误,使控制台每隔几秒钟弹出一次。如何阻止它自动弹出并获得焦点?
采纳答案by Jeff Storey
回答by Bozho
There are two icons - "Show Console When X changes" in the console view. Unselect those.
控制台视图中有两个图标 - “X 更改时显示控制台”。取消选择那些。
回答by jumps4fun
This can also be done in Preferences
这也可以在首选项中完成
Windows > Preferences > Run/Debug > Console
Windows > 首选项 > 运行/调试 > 控制台
uncheck "Show when program writes to standard out" and/or "Show when program writes to standard error".
取消选中“程序写入标准输出时显示”和/或“程序写入标准错误时显示”。