At 12:30 PM 2/5/01 -0600, [EMAIL PROTECTED] wrote:
>I'm having a problem with jde-complete-at-point and
>jde-complete-at-point-menu. Say, I have the following class definitions:
>
>---------------------- Class.java ------------------------------
>public class Class extends Superclass {
>
> public void classMethod() {
> }
>
>}
>---------------------------------------------------------------
>------------------------ SuperClass.java ----------------------
>public class Superclass {
>
> public void foo() {}
>
>}
>----------------------------------------------------------------
>
>and that both classes have been successfully compiled. Now, in a buffer
>containing Class.java, with my cursor placed after "fo":
>
>------------------------------------------------------------
>public class Class extends Superclass {
>
> public void classMethod() {
> fo
>---------------------------------------------------------------
>
>if I invoke jde-complete-at-point, I get a completion of:
>
> fothis.equals(
>
>Invoking jde-complete-at-point-menu gives the similar incorrect
>behavior of displaying a menu of a large number of methods, only one of
>which is a valid completion.
>
>Any help is appreciated.
>
>From the JDE User's Guide:
Names of fields and methods of the current class must start with this or .
(period). Names of fields and methods declared by the parent of the current
class must start with super.
For example, this command completes
.
^
this.
^
super.
^
- Paul