1

I know it's tab and shift-tab for right and left respectively, but I prefer Sublime Text 2's (and quite frankly, most IDEs/text editors) where it's ctrl-] and ctrl-[.

Any way to change this?

Fritz
  • 9,987
  • 4
  • 30
  • 49
Doug Smith
  • 29,668
  • 57
  • 204
  • 388

1 Answers1

0

I have an English Keyboard but I am typing in French, so there are some missing keys. I made a windows script in AutoIt3 to send the characters < an > by pressing CTRL+SHIFT+, and CTRL+SHIFT.. I made an example for your problem below:

Documentation: WinTitleMatchMode, WinActive

; File CustomShortcutEclipse.au3

HotKeySet("^[","leftTabEclipse")
HotKeySet("^]","rightTabEclipse")
HotKeySet("{ESC}","escape")

AutoItSetOption("WinTitleMatchMode", 2)

While(True)
  Sleep(1000)
WEnd

Func escape()
  Exit
EndFunc

Func leftTabEclipse()
  If WinActive("Eclise SDK") Then
    Send("{TAB}")
  EndIf
EndFunc

Func rightTabEclipse()
  If WinActive("Eclise SDK") Then
    Send("+{TAB}")
  EndIf
EndFunc

Once you created the file, just double-click on it and its icon will be in the tray bar, so you can use it whenever you want.

Mikaël Mayer
  • 10,425
  • 6
  • 64
  • 101