[SOLVED] #pragma mark in Xcode shows up at bottom of symbol list

Discussion in 'Mac Programming' started by grimreaper1377, Apr 19, 2009.

  1. grimreaper1377 macrumors regular

    Joined:
    Oct 20, 2007
    #1
    Hi,

    For some reason, my #pragma mark's in xcode show up at the bottom of the symbol list regardless of the placement. Here's a screenshot:

    [​IMG]

    Any ideas? I tried reinstalling xcode, but this problem still occurs.

    Thanks!
     
  2. WhiteRabbit macrumors newbie

    Joined:
    Jan 11, 2005
    #2
    The list is alphabetical, you can't override this.
    Most sample projects from Apple have mark lines that start with ----.
    #pragma mark ---- Internal Methods ----
     
  3. Sayer macrumors 6502a

    Sayer

    Joined:
    Jan 4, 2002
    Location:
    Austin, TX
    #3
    Go to the Xcode preferences and click on "Code Sense" and UN-check the "Editor Function pop-up" option "Sort Alphabetically."
     
  4. grimreaper1377 thread starter macrumors regular

    Joined:
    Oct 20, 2007

Share This Page