Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i stop Eclipse's "Servers" tab from grabbing focus when start/stopping a server?

Tags:

eclipse

When using Eclipse IDE, anytime the server (tomcat in my case) changes status (start, starting, stopping, stopped, etc...), the Servers tab becomes active. This is annoying because then I can't see Console.

By default, I think Console has "Show Console when std out/err changes" which results in a minor skirmish between the two tabs. I don't like having this option either. I simply want the tab I chose to stay active, none of the auto business.

Is there any way to stop Servers tab from grabbing focus/active?

Thanks.

Edit

I should mention that my Console and Servers tab live in the same grouping of tabs.

like image 367
putgeminmouth Avatar asked Sep 10 '10 14:09

putgeminmouth


3 Answers

You can disable the focus grabbing in Preferences - Server. There is a single Checkbox "Show Servers view when server state changes".

Also:

Preferences -> Rund/Debug -> Console: Disable "Show console when standard output changes"

like image 198
Raffael Avatar answered Nov 08 '22 01:11

Raffael


To prevent this, deselect these options:

screenshot

"Show console when standard output changes"

and

"Show console when standard error changes"

Then the console will not take focus.

But what I advise is to use the simple short cuts for navigation:

Press F12 to return to Editor. 

Press Alt+Shift+Q, P  - to return to the package editor 
Press Alt+Shift+Q, O  - to outline
Press Alt+Shift+Q, S  - to search
Press Alt+Shift+Q, C  - to console
Press Alt+Shift+Q, Q  - to show all views and choose correct 

Press Ctrl+F7 - display a list of opened views
Press Ctrl+F8 - select perspective
like image 33
Damian Leszczyński - Vash Avatar answered Nov 08 '22 01:11

Damian Leszczyński - Vash


Preferences -> Rund/Debug -> Console:

Disable "Show console when standard output changes"

like image 2
Hollerweger Avatar answered Nov 08 '22 01:11

Hollerweger