Paul Kinnucan wrote:
> Laurent Mirguet writes:
> >
> > Maybe I am wrong, but it seems to me that C-c C-v C-y doesn't jump to
> > the definition of "whatever" is under the cursor. The cursor needs to be
> > over a class.
> >
> > But I would like to be able to do the same with a method : JDE would
> > analyse on which type of object the method is applied, open the class,
> > and point on the method automaticaly. The same with attributes.
> >
> > It would be quite nice.
>
> jde-help-symbol-at-point (C-v C-v C-w) does the first part, i.e.,
> it finds the class of the method or field at point. Somebody has
> contributed some code that does the rest, i.e., scroll the
> javadoc buffer to the field or method doc. It needs some work
> to be integrated into the JDE. It is on my list of things to do.
For me jde-help-symbol-at-point does this job only partially : it finds
the class of the method or field at point. But if the method is defined
in a super class of the class found, it does not show the super class.
example :
class A { void toto() {} }
class B extends A;
class C {
B bob;
bob.toto();
}
I am in class C - cursor in on "toto" - I call
jde-help-symbol-at-point - I get the javadoc of class B which does not
contain toto().
Is it a known bug ?
Laurent