-1 on statement clauses
-1 on methods
I can not find the actual use for it.
I use the coding style for my else-statements where I have "} else {" on one
row. (Not much room for comments there.)
When renaming methods, should the comments be updated as well?
I remove such comments whenever I can in our project. I find them to be
superfluous and in the way.
/Christian
-----Ursprungligt meddelande-----
Fran: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]For Christopher Cobb
Skickat: den 25 juni 2002 20:48
Till: [EMAIL PROTECTED]
Amne: [Eap-features] Re: Comments On Closing Braces
+1
And also on methods:
void myMethod()
{
} // end myMethod()
Kevin Shaughnessy wrote:
> A nice-to-have feature would be the ability to
> automatically generate comments on closing braces. For
> example, given this code fragment:
>
> while ( condition )
> {
> if ( another condition )
> {
>
> }
> else
> {
>
> }
> }
>
> it would be nice to be able to have Idea generate the
> following:
>
> while ( condition )
> {
> if ( another condition )
> {
>
> } //end if
> else
> {
>
> } //end else
> } //end while
>
> Perhaps this could be an option on the Layout Code
> dialog. I know that I can place the cursor outside the
> closing brace and Idea will identify the opening
> brace, but having the comments eliminates the need to
> have to move the cursor and makes it easier to
> visualize the code structure, especially while
> scrolling or on a hard copy.
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
_______________________________________________
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