Press "Enter" to skip to content

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 Comments

  1. cckrobinson 8. December 2012

    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. Zak 25. July 2013

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

    Worked great…

  3. Cristiano 23. August 2013

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

  4. ootpapps.com 31. March 2014

    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. reuben 16. April 2015

    +1

  6. Scott Powell 21. December 2016

    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.