If you want to surround a block with an if statement, why don't you use: Surround With -> If ?
"Thomas Singer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Maybe this should become a layout code option. I think, than it would > be easier to solve. > > Tom > > > On Thu, 15 Aug 2002 10:16:08 +0100, "Oliphant, Geoff (Thoughtworks)" > <[EMAIL PROTECTED]> wrote: > > >+1 > > > >I find myself cutting and pasting the line that is "forced" out all the > >time. > > > >Geoff > > > >-----Original Message----- > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > >Sent: 14 August 2002 15:52 > >To: [EMAIL PROTECTED] > >Subject: Editor: Adding braces to a conditional block > > > > > >In the following case (where | represents the cursor): > > > > if (condition) | > > name = "Drew"; > > > >...press {... > > > > if (condition) { > > | > > } > > name = "Drew"; > > > >This would be a much better outcome: > > > > if (condition) { > > |name = "Drew"; > > } > > > >Drew Noakes > > > >ThoughtWorks, Inc. UK > >[EMAIL PROTECTED] > > > > > > > >_______________________________________________ > >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
