+1 (for adding braces)

Here we always put braces. Actually, I would not mind if Java itself will
force
it.

As for adding braces, this can be a nice option when formatting old or third
party
code.

Tal

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of [EMAIL PROTECTED]
> Sent: Friday, November 02, 2001 11:05 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [Eap-list] Removing extra braces!
>
>
> Folks! How about having a format-code feature/option to remove
> (or add) the
> extra braces like these ??
>
> 1-
> if( a_condition )
> {
>      do_an_action();
> }
>
> 2-
> for( int i=0; i<100; i++ )
> {
>      do_an_action();
> }
>
> will convert them to :
>
> 1-
> if( a_condition )
>      do_an_action();
>
> 2-
> for( int i=0; i<100; i++ )
>      do_an_action();
>
> Or vice versa (adding braces!)
>
> Regards,
> Armond
>
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


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

Reply via email to