增加Xcode的“最近项目"的长度;列表? [英] Increase the length of Xcode's "recent project" list?
问题描述
我经常在许多不同的项目之间切换 Xcode(有些我正在积极工作,有些是我正在查找代码的旧项目,我想在 SO 答案中重新使用或引用:)),所以我的工作集"项目的一部分最终会从最近的项目列表中消失.我确实将查找器选项卡用于当前项目文件夹的完整工作集,但我真的很喜欢使用最近的项目列表提供的快速切换.
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?
推荐答案
在终端窗口中,对于 XCode 7 及更高版本,键入以下命令:(来自 Matteo Gaggiano):
On a terminal window, for XCode 7 and above type the following command: (from Matteo Gaggiano):
defaults write com.apple.dt.Xcode NSRecentDocumentsLimit X
其中 X 是列表中项目的最大数量.
where X is the max number of projects in list.
对于低于 7 的 XCode 版本,以下操作有效.
For XCode version below 7, the following worked.
defaults write com.apple.Xcode NSRecentDocumentsLimit X
这篇关于增加Xcode的“最近项目"的长度;列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!