Re: opening files
vedm <[email protected]>
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
Pedro Sa da Costa <[email protected]> writes: > 1 - Is there any way in jdee, when we select an type of object, it goes > to that class. > > For example, > in Foo.java i've this defined: > > package org.src.pkg1; > > import org.src.pkg2.OtherClass; > > public class Foo{ > OtherClass obj = null; > > public OtherClass getOtherClass(){ > return obj; > } > }//END > > Now, from this class, i want to go to the OtherClass, without searching > the file to open it. Ie, in eclipse i just have to do CTRL+mouse button1 > over the type of the object, and it opens the file. So, i would like to > do the same thing in emacs. Is this possible? Read the JDE Guide, the sections called "Finding Symbol Definitions" and "Finding Classes". > > > 2 - I've defined a project for my project (prj.el) (:p) , and now i > would like to open java files without searching all the dirs. For > example, a i've this foo.java file in src/org/a/b/c/d/f/g directory. Now > i want to do open the file, without have to search the object in the > directory. Ie, i simply do open foo.java file, and it opens the file > from the right directory. In eclipse, I do CTRL+R, and it opens a > window. I write the file i'm searching inside the project, and it gives > me the directory. I simply have to do ok to open the file. Is this > possible in emacs/jdee? > > Is this possible? As far as I know JDE does not provide such functionality. -- vedm