Xcode 3.2 - how do I delete recent projects from splash screen?

Discussion in 'Mac Programming' started by glossywhite, Aug 31, 2009.

  1. glossywhite macrumors 65816

    glossywhite

    Joined:
    Feb 28, 2008
    #1
    Hi there Cocoa buffs! :p

    Can some kind person, please tell me how I go about removing the cluttered looking list of recent projects from the splash screen that pops up when I start Xcode 3.2?.

    I just find it looks a total mess, and in need of a spring clean. I hope I have explained myself clearly, so I have attached a shot, just to clarify. Thankyou all.
     

    Attached Files:

  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Looks like the data is located in the Xcode preferences file in NSRecentXCProjectDocuments. However, the data stored is the new 10.6+ URL bookmark, so you'd have to probably write some code to read it. Easiest solution is to just delete the entries associated with the index of the item you want removed.
     
  3. glossywhite thread starter macrumors 65816

    glossywhite

    Joined:
    Feb 28, 2008
    #3
    ??? :confused:
     
  4. glossywhite thread starter macrumors 65816

    glossywhite

    Joined:
    Feb 28, 2008
    #4
    Hah! found it! :D :

    Code:
    $ defaults write com.apple.Xcode NSRecentDocumentsLimit 0
    0 can be 0-20

    See this:

    http://www.youtube.com/watch?v=BMYt_HvlCwc
     
  5. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #5
    I think that's going to limit how many recent projects Xcode lists. In your case since you set it to 0, it's not going to show any recent projects. Probably not the workaround you wanted I would imagine...
     
  6. glossywhite thread starter macrumors 65816

    glossywhite

    Joined:
    Feb 28, 2008
    #6
    It'll do for now ;)
     
  7. `lowell` macrumors newbie

    Joined:
    Aug 20, 2009
    Location:
    San Diego
    #7
    You can safely delete the key if you just want to clear it temporarily, Xcode will add it back (blank, of course) on the next launch.

    Code:
    defaults delete com.apple.Xcode NSRecentXCProjectDocuments
     
  8. iDSD macrumors newbie

    Joined:
    Apr 3, 2010
    #8
    Open Xcode, leave the splash screen up and choose "File", "Open Recent Projects", "Clear Menu" will remove all from the list and let you start over.
     

Share This Page