Create a file A.java with the following contents:

public class A {
    public static int main(String[] args)
    {
        A a = new A();
        a.@
    }
}

Position point on "@", delete the character, then hit C-c C-v . and
observe how it adds "import org.apache.ecs.xhtml.a;" to the beginning
of the file.

Or this one: create a file Action.java that looks like this:

public class Action {
    public int foo() {
        return 42;
    }
}

Then create a file BTest.java that looks like this:

public class BTest extends Action {
    public int bar() {
        return this.
    }
}

Then position point after "this." and invoke jde-complete (in one of
its flavors).  Observe how it adds an import statement for
javax.swing.Action.

Is it pilot error?

Is it just me?

Kai

PS: Using jde 2.3.4 on GNU Emacs 21.3.50.1 (i386-pc-linux-gnu, X
    toolkit, Xaw3d scroll bars) of 2004-11-02 on ketchup, modified by
    Debian.

Reply via email to