Hello-

The new automatic Javadoc template generation is very nice.  However, there
is one annoying thing about the code it generates.  After you press Enter,
IDEA generates a Javadoc template like this:

/**
 *  |
 * @param someParam
 */

with the caret placed at the | location.  The bad thing is, the space to the
left of the caret (between the '*' and the caret) is filled with a tab
character.  If you have tabstops set to 4 spaces (like me), this means that
the caret is placed one space to the right of where it should be.  That is,
the caret appears over the 'p' in 'param' rather than over the '@'.  If you
type some text on the first line anyway, and press Enter, you get the
following

/**
 *  This is the first line of text
 * |
 * @param someParam
 */

The caret appears in the correct position on the second line, but it's one
position to the left of where it was placed on the first line.  So, if you
type some text on the second line, you end up with

/**
 *  This is the first line of text
 * And this is the second line of text
 * @param someParam
 */

As you can see, the first and second lines of the comment don't line up.  I
searched in the IDE Options for a place to customize the Javadoc template,
but I couldn't find it.  Can anyone enlighten me?

Best Regards,

Danny Burkes


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to