Re: find java file

Phillip Lord <[email protected]>
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
>>>>> "PSdC" == Pedro Sa da Costa <[email protected]> writes:

  PSdC> I suppose this question is a jdee question and not a emacs
  PSdC> question.

  PSdC> How can i find quickly a java file in jdee environment in
  PSdC> emacs? For example, i want to find the foo.java file. My wish
  PSdC> is to, simple write foo.java, and automatically, the jdee goes
  PSdC> to the right dir and opens the file. If not possible, i want
  PSdC> to know in what directory is the foo.java file.

  PSdC> My application is inside a project. What i'm saying is that i
  PSdC> have a prj.el configured in my application.



There are a number of tools which provide this sort of
functionality. The closest to what you are asking for is globalff.el;
it uses the locate command to search your file system giving feedback
on appropriate files as you type. 

I, personally, use ido.el. This doesn't do what you are asking for,
but allows you to navigate directories so quickly that it's good
enough. Or find-dired which does what you want, but it slower than
globalff.el, but doesn't need a precomputed database and is part of
standard emacs. Or recentf, which stores recently open files. As does
ECB, which does lots of other things as well. 

So many options...

Phil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.