Xcode deletes TABs with every ';'

Discussion in 'Mac Programming' started by Thumbz, Mar 3, 2011.

  1. Thumbz macrumors newbie

    Mar 3, 2011
    I'm using Xcode for a small project right now, and I like most everything about it except for the way it deletes one of my TAB's everytime I end a line in ';' .
    It's incredibly annoying :mad: and I can find neither an option to turn it off or any good reason for it to be. I don't want a removed TAB to unalign my code every time I end a command, and I don't know who would, so somebody must have found the solution. Please, xcode users of the MacRumors forum, ease my strain with a cure for this jaw gritting anomaly that mocks me with every line I write.
  2. jiminaus macrumors 65816


    Dec 16, 2010
    In Xcode's preferences, under text editing, looking for "automatic indent for" and untick ";". You may want to go as far as unticking "syntax-aware indenting".
  3. hayesk macrumors 65816

    May 20, 2003
    The point of it is to align your code, not the other way around. Do you have an odd indentation style that it doesn't agree with?

Share This Page