I know what you mean
JSacharuk.
I also stumbled into a few annoyances while commenting, but unfortunately while 'meeting the deadline'...
So I'd no time to track them down to facts
Mostly I did it somehow or quickly switched off the comment-wrapping support.
Thanks to
ScottW [thumb-up] explanations things getting clearer and some of the annoyances are solved by proper configuration now.
Anyway, I hope that I don't have to know too much constraints to use this feature in a controlled manner.
Ok - currently there is one major issue for me.
Comment auto-wrap should be limited to the current 'comment-paragraph' inside a whole comment block.
I'll try an explanation:
There is a java-doc block already containing some keywords (@parameter lines etc.) and blank (comment) lines.
I quickly want to edit e.g. the 1st @parameter description (only 1 line) and e.g. a <DEL> triggers a re-wrap...
The complete java-doc block is affected w/o taking into account follow-up keywords (next @parameter) or blank lines !
You'll find e.g. the next @parameter just somewhere at the mentioned 1st @parameter line.
This is no good and in my opinion it also doesn't make sense.
So my proposal is to stop the re-wrapper at the end of the current 'comment-paragraph', which is the block related to the current @<keyword> or when the next comment-line is blank (and leaving it as it is - just blank).
This should be ok for those who like blank lines to separate things in comment blocks (as me) and the others hating blank lines are not affected.
In addition the latter should also be used for normal (non java/xmldoc) comment blocks.
Besides that using the
javadoc-editor would solve a lot of my little problems. It's an extremely cool feature !
But often I do some on-the-fly comment editing/typo fixing w/o launching an extra tool.
Puh, that's enough for now. I've to hurry up to meet my next deadline
HS2