Way to temporarily not insert closing brace in xcode

Discussion in 'Mac Programming' started by luckylefty01, Apr 29, 2008.

  1. luckylefty01 macrumors member

    Apr 8, 2008
    If I'm using Xcode to automatically insert a closing brace, is there a way to temporarily not insert a brace? As in the case where I want to encase an entire block of already written code inside a loop or if() statement and thus need the closing brace way down at the bottom, not right at the start.


  2. alaceo macrumors member

    Feb 21, 2008
    You can just delete it. However, for what you described, all you really need to do is put the cursor between the brackets, that way your end bracket will always be below what you want to type and you won't forget to close it later.

Share This Page