Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Eclipse, is there a way to open a file by typing its path and name?

IDEs are wonderful for many things. But I dislike how they make me use a GUI for something I can do faster typing in a command line. For example, opening a known specific file. If I know the name of a file, from the command line I can just type the name of my editor and the filename. With tab-completion I can accomplish this very quickly in a reliable amount of time. No searching through output or moving my fingers off the keyboard.

Is there a way in Eclipse to open a known file simply by typing its path+filename? Maybe through a plugin?

The "Open Resource" shortcut (ctrl-shift-R) is almost it, but it only lets you type the name of the file, not the path. If you have several files of the same name in different directories, you must again hunt with the mouse for what you want.

like image 608
Leopd Avatar asked Aug 10 '10 21:08

Leopd


1 Answers

Actually, if you are using Helios (Eclipse 3.6) you can use paths; for details, see "New features in Open Resource dialog" in that version's "New and Noteworthy" page.

Also, you can Tab to the list of results and use the arrows to pick the right one.

like image 96
zvikico Avatar answered Sep 23 '22 19:09

zvikico