【问题标题】:How can I place my custom file templates to the top?如何将我的自定义文件模板放在顶部? 【发布时间】:2018-02-05 13:01:58 【问题描述】: 使用 Xcode 9。 我已经创建了几个自定义文件模板。 创建新文件时,对话框底部会显示我的自定义模板。 如何让它们显示在顶部? 【问题讨论】: 标签: xcode xcode9 file-templates 【解决方案1】: 下 ~/Library/Developer/Xcode/Templates/File Templates/ ...将名为 Custom 的文件夹重命名为 Source。这会将您的自定义文件模板移动到顶部的源部分。 【讨论】: 在 Xcode 11 上对我不起作用。我不得不复制 /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates/Source/ 中的文件