Title: RE: [Eap-list] "Smart braces" feature

One way would be to change from "(  )" to "()" after the user has moved to another line. Another would be to add a shortcut key, something like "format code" that would apply code rules to current line. (does something like that exist already?)

-Mike

-----Original Message-----
From: Valentin Kipiatkov [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 6:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [Eap-list] "Smart braces" feature


Well, you are right. But there would be another problem with such behaviour. If you aren't going to type anything inside brackets (for example, call to a method with no arguments) then there should be no spaces added. How could we manage that?

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: "Jordan Zimmerman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 11:05 PM
Subject: [Eap-list] "Smart braces" feature


> I like the new "Smart braces" feature. However, it doesn't apply my
> code style preferences. For example, I do "if" statements like this:
>
> if ( x )
>
> With the "Smart braces" feature, though, when I type "if (", I get
>
> if ()
>
> It seems to me that I should be (where "|" is the insertion point)
>
> if ( | )
>
> ===========================
> Jordan Zimmerman
> Altura International
> Catalog City
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


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

Reply via email to