Dmitri Colebatch <[EMAIL PROTECTED]> schrieb am 10.11.2002, 23:07:09:

> Lazy question - would it be possible to write a plugin in eclipse that
> handles code completion?  more specifically, comment completion?  This is
> the current sticking point with the idea plugin - the openapi doesn't expose
> this...

Hi Dmitri,

you need not write a plug-in for this because what you want is already
there (at least the example you have shown works fine!):

> 
> re hands on - things like if you have code like this:
> 
>     class Foo
>     {
>       void bar()
>       {
>         foobar();|
>       }
>     }
> 
> ( | = cursor)
> 

In this situation: save the file with Cntrl-S. Eclipse will compile and
give you an error message with a red underline under "foobar". Move the
cursor on the word "foobar" and type Cntrl-1 for "quick fix". Eclipse
will offer you some choices what to do. Among them is "create method
foobar". Choose this and you're done!

Cheers...
Matthias Bohlen


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to