I want to assign an eclipse key shortcut. Say, Ctrl+Shift+F = "File Search".
I can assign this in Window -> Preferences -> General -> Keys -> File Search -> Binding: Ctrl+Shift+F
I also need to select "When". I can select one of "Editing Java Source", "Editing Java Script Source" etc.
Is it possible to assign this key shortcut to be effective everywhere? What I mean is I can be doing anything in eclipse - editing Java, js, xml, etc or I could be in Console window looking at the logs. I will highlight a word I want to search and press Ctrl+Shift+F and eclipse just has to bring up the "File Search" dialog.
How can we do this without have to assign the binding to every item in the "When" drop-down list?
Display and Edit the Current Keyboard Shortcuts To see the current key configuration and its keyboard shortcuts, choose the Eclipse > Preferences menu command to open the Eclipse workbench Preferences. Select the General > Editor > Keys page.
Switching between Open Editors Ctrl + Page Up and Ctrl + Page Down—Navigate to previous or next file from the list of open files. Ctrl + Shift + T—Display a list of classes from the workspace. Ctrl + Shift + R—Display a list of resources from the workspace.
Try setting "When" to "In Windows". I just checked, and the key binding worked everywhere I tested it...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With