Well, I guess you are after completion of class, method and field names when typing in 
the plain text area of the javadoc.
Idea can help you out (with support for <ctrl>+<space>) when typing a javadoc link 
{@link MyClassName}... I use a live template for that. Define it in <Tools|IDE 
Options|Live Templates>.

jdl = "{@link $ELEMENT_TYPE$} $END$" (Expands on "tab", group "plain", "Java comment" 
as context.)
jdc = "<code>$selection$</code>" (Expands on "tab" (but I use <ctrl>+<alt>+<j>), group 
"surround", "Java comment" as context)

Then place the caret inside a javadoc. Type "jdl" and then press <tab>...

/Christian


> -----Original Message-----
> From: Paul Ruane [mailto:[EMAIL PROTECTED]]
> Sent: den 4 juli 2002 15:34
> To: [EMAIL PROTECTED]
> Subject: Re: [Eap-features] Re: Auto-complete class names in Javadoc
> 
> 
> 
> Idea already does Javadoc tags, parameter names and 
> exceptions: ctrl-space (after @ in case of the javadoc tags). 
>  It also creates the what you describe when you type /** and 
> press return before a method.
> 
> I would just like to be able to insert class names to avoid 
> mistyping them.  That way refactoring will pick them up 
> correctly if the names are changed.
> 
> Paul.
> 
> 
> 
>                                                               
>                                                               
>                                                      
>                       Anders Engstr�m                         
>                                                               
>                                                      
>                       <[EMAIL PROTECTED]>              To:  
>      [EMAIL PROTECTED]                         
>                                                      
>                       Sent by:                           cc:  
>                                                               
>                                                      
>                       [EMAIL PROTECTED]        
> Subject:  [Eap-features] Re: Auto-complete class names in 
> Javadoc                                                       
>                       tbrains.com                             
>                                                               
>                                                      
>                                                               
>                                                               
>                                                      
>                                                               
>                                                               
>                                                      
>                       04/07/2002 12:53                        
>                                                               
>                                                      
>                       Please respond to                       
>                                                               
>                                                      
>                       eap-features                            
>                                                               
>                                                      
>                                                               
>                                                               
>                                                      
>                                                               
>                                                               
>                                                      
> 
> 
> 
> 
> I second this!
> 
> 1+
> 
> Also - if the method-javadoc could autocomplete method parameters and
> exception this whould be lovely. Perhaps even a live template 
> that set's
> up the basic javadoc for a method:
> 
> /**
>  * <insert text here>
>  * @param param1 <insert here>
>  * @param param2 <insert here>
>  * @return <insert here>
>  * @exception ExceptionClass1 <insert here>
>  * @exception ExceptionClass1 <insert here>
>  */
>  public String doSomething(int param1, Object param2)
>    throws
> ExceptionClass1, ExceptionClass2 { ... }
> 
> //Anders
> 
> In article 
> <[EMAIL PROTECTED]>, 
> Paul Ruane wrote:
> >
> > Would it be possible to insert class names (or just the 
> current class name) on ctrl-space when editting Javadocs?
> >
> > Cheers,
> > Paul.
> >
> >
> > --
> >
> > This e-mail may contain confidential and/or privileged 
> information. If you are not the intended recipient (or have 
> received this e-mail in error) please notify the sender 
> immediately and destroy this e-mail. Any unauthorized 
> copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden.
> >
> >
> 
> 
> --
> /**
>  * Anders Engstr�m, [EMAIL PROTECTED]
>  * -------------------------------------
>  * Your mind is like an umbrella.
>  * It doesn't work unless you open it.
>  *    /Frank Zappa
>  */
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://lists.jetbrains.com/mailman/listinfo/eap-features
> 
> 
> 
> 
> --
> 
> This e-mail may contain confidential and/or privileged 
> information. If you are not the intended recipient (or have 
> received this e-mail in error) please notify the sender 
> immediately and destroy this e-mail. Any unauthorized 
> copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden.
> 
> 
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://lists.jetbrains.com/mailman/listinfo/eap-features
> 
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to