16

I switch in Xcode between working on a lot of different projects frequently (some I'm actively working on, some are old projects where I'm looking up code I want to re-use or quote in SO answers :)), so that part of my "working set" of projects invariably ends up falling off the recent project list. I do use finder tabs for the full working set of current project folders, but I really like the fast switching available using the recent projects list.

Is there a way to increase the length of this list so that I can see more recently opened projects?

3 Answers 3

20

On a terminal window, for XCode 7 and above type the following command: (from Matteo Gaggiano):

defaults write com.apple.dt.Xcode NSRecentDocumentsLimit X

where X is the max number of projects in list.

For XCode version below 7, the following worked.

defaults write com.apple.Xcode NSRecentDocumentsLimit X
1
  • 2
    In Xcode 9 (when I'm writing, the start version should be Xcode 7) you can increase it with defaults write com.apple.dt.Xcode NSRecentDocumentsLimit 50 Oct 4, 2017 at 9:44
16

You could change the length of the list with the number of recent items in System Preferences -> General (Appearence on older macOS versions) as well. However that will change it for all apps.

You need to restart your machine for the change to kick in.

3
  • 5
    An update: in OSX El Capitan, recent items is under System Preferences -> General Nov 23, 2015 at 19:24
  • @Wasim have you tried to look in System Preferences -> General
    – Mellson
    Jun 18, 2019 at 18:31
  • 1
    Hey Mellson, it's working after I restarted my Mac :) Now I can see open recent is growing up. Thanks!
    – Wasim
    Jun 19, 2019 at 7:48
4

Do Hit Command + Spacebar   >   Type General   >   Follow the screenshot attached.

2]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.