Ctrl+Tab and Ctrl+Shift+Tab in Eclipse

The Eclipse IDE doesn’t use the overwhelmingly common Ctrl+Tab and Ctrl+Shift+Tab shortcuts to switch editor tabs. Not only that, it doesn’t even allow you to bind these keys to the classic Ctrl+Tab behavior (switch to the tab left/right of the current one). However, Ctrl+PageUp/Down seem to be hard-coded to switching tabs the good-old way, so it’s just a matter of remapping Ctrl+(Shift+)Tab to those keys.

Here’s my AutoHotKey solution:

#IfWinActive ahk_class SWT_Window0
^Tab::Send ^{PgDn}
#IfWinActive ahk_class SWT_Window0
^+Tab::Send ^{PgUp}

One thought on “Ctrl+Tab and Ctrl+Shift+Tab in Eclipse

  1. ~booboo~

    I’m struggle with “#IfWinActive elipse ” does not works, and this article help me solve it

    Thank you.


Leave a Reply

Your email address will not be published. Required fields are marked *