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

6 Replies to “How to disable stealing of focus by Console in Eclipse

  1. 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.

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

    Worked great…

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

  4. 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!

  5. 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.

Comments are closed.