开发者

Increase the length of Xcode's "recent project" list?

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 avail开发者_如何学Cable 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?


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


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.


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

Increase the length of Xcode's "recent project" list?

]

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜