The thing is, the only place with lots of multline comments should the Javadoc.
If you find yourself writing lots of long comments then this may be a hint that its
time to refactor.
Someone once said to me: "Refactor comments into methods." I never did like that
cookery teacher, but her words have stuck in my head to this very day.
Paul.
"Jacques Morel"
<[EMAIL PROTECTED]> To:
[EMAIL PROTECTED]
Sent by: cc:
[EMAIL PROTECTED] Subject: [Eap-features]
Comments block handling (Yet again)
tbrains.com
11/07/2002 16:58
Please respond to
eap-features
We had a lot of interesting posts lately to better handle comments and more
exactly block of comments. I would like to inject a slightly different view:
Why don't we think of them as blocks of text with a border.
When you think it that way now the editor should be in charge of extending
the box automatically as we type. Moreover it should be able to float the
text in the box just like a text box in Word for example. If I add words,
IDEA would spill over some of the last words of the current line to the
next. If I remove words, IDEA would take some words from the next line to
fill the current line. Standard stuff that is a major pain to do when you
update a comment block like a javadoc.
However, to do that, we need word-wrap at the right margin... (IntelliJ
guys, are we going to get this for ariadna?)
We could use the Shift-Return to extend the box when we want to add a
paragraph break within the comment.
This would work on both types of comments.
Jacques
_______________________________________________
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
