In modern IDEs, there is a keyboard shortcut to open a file by typing its name without putting your hand on the mouse. For example:
Eclipse: Cmd|
File → Open Quickly...
You can assign a shortcut to it in Preferences → Key Bindings. The default should be ⌘+Shift+D.
(If you have a #include/#import, you can place the text cursor on it and press ⌘+Shift+D to fill the file name automatically.)
#include
#import