Eclipse runs “File Search” when pressing AltGr+G

- Image via Wikipedia
Did you ever have any problems with Eclipse? With initial versions of Galileo1 and in previously released Gynamed there was a problem with preassigned keyboard shortcuts on some locale’s2. The problem that Eclipse created when using Slovene keyboard layout was that while programmer wanted to type the ] key, Eclipse run File Search action.
Slovenian users are not to blame that their keyboard has ] key mapped to AltGr+G key combination. And Eclipse developers could browse through Wikipedia to discover what obscure keyboard layouts exist.
Any competent programmer will notice that with the default key mapping Eclipse guards programmers from using too many arrays since typically array is marked with [] key combination. They are advancing object oriented design and programming. But in some cases arrays actually make your code faster and optimize memory usage and fragmentation.
To discover how to remedy the problem read on.
Fortunately Eclipse has built in keyboard mapping manager. Until Eclipse developers don not remove the mapping or replace it with something more appropriate you can do the following:
- Open Window->Preferences->General->Keys
- Sort table by Binding and find the one that is bothering you3. Unbind all commands that are bind to the combination. If you don’t know which combination you should be searching for use Binding text box and type in the key that is bothering you.
There you have it problem is solved. File search gone by removing the CTRL+ALT+G or AltGr+G key combination from Eclipse key mapping. If you can not live without the combination you could replace it with something more appropriate.
