How to disable stealing of focus by Console in Eclipse

There is one very annoying issue in Eclipse: stealing of focus by Console window.

Console window is displayed when you run application.

When you set focus to some other window like Search results and application prints something on output then Eclipse will automatically switch to Console window. Your search results are gone.

There is simple way how to get rid of such a behavior.

Go to Window -> Preferences -> Run/Debug -> Console. Uncheck options:

  • Show when program writes to standard out
  • Show when program writes to standard error

22. December 2011 at 22:53 - Software engineering (Tags: , , , , , ). Both comments and pings are currently closed.

0 0 votes
Article Rating
6 Comments
Inline Feedbacks
View all comments
11 years ago

Thank you. This have been annoying me for ever. There’s nothing worse than trying to watch the LogCat window and have it constantly switch on you.

Zak
10 years ago

Thank you! Wow! There are times where this makes me want to flip out. It was driving me crazy!!

Worked great…

Cristiano
10 years ago

Man, thank you so much!! This was annoying me for so long I was even conformed with it. But not anymore! :-) You rock!!

9 years ago

Thank you!

You know when you’re in the middle of concentrating on the log, and this happens, and you want to just LOSE YOUR …, well, I had my last it seems!

reuben
8 years ago

+1

Scott Powell
7 years ago

Go to window->preferences->C/C++/Build/Console and you’ll find an option “Bring console to top when building (if present)”. Uncheck that to disable builds from stealing your attention. Very similar to focus stealing.