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

后端 未结 3 561
死守一世寂寞
死守一世寂寞 2020-12-14 06:30

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

相关标签:
3条回答
  • 2020-12-14 06:48

    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
    
    0 讨论(0)
  • 2020-12-14 06:57

    Preferences -> Rund/Debug -> Console:

    Disable "Show console when standard output changes"

    0 讨论(0)
  • 2020-12-14 07:05

    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"

    0 讨论(0)
提交回复
热议问题