XCode 4.3 字体和颜色导出
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10574070/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
XCode 4.3 fonts and colors export
提问by JasonD
I have created a fonts and colors theme for code editing in XCode 4.3 on my laptop that I am particularly happy with, and I would like to export this and then re-import it onto my desktop.
我在笔记本电脑上的 XCode 4.3 中为代码编辑创建了一个字体和颜色主题,我对此特别满意,我想将其导出,然后将其重新导入到我的桌面上。
Since going to this new App version of XCode, I can't appear to find anything user preferences related in ~\Library any more. Does anyone know where the fonts and colors setting is now stored, or how to export/import an XCode color theme?
自从使用这个新的 XCode 应用程序版本后,我似乎再也找不到任何与 ~\Library 相关的用户首选项。有谁知道字体和颜色设置现在存储在哪里,或者如何导出/导入 XCode 颜色主题?
回答by Alistair Colling
The folder is still there it is just hidden in Lion. You need to copy the file using terminal or show hidden files by typing in terminal 'defaults write com.apple.finder AppleShowAllFiles TRUE'
该文件夹仍然存在,只是隐藏在 Lion 中。您需要使用终端复制文件或通过在终端中输入“defaults write com.apple.finder AppleShowAllFiles TRUE”来显示隐藏文件
The path is: ~/Library/Developer/Xcode/UserData/FontAndColorThemes
路径是:~/Library/Developer/Xcode/UserData/FontAndColorThemes
回答by sandman0615
You don't actually have to use terminal, you can access that folder by using "Go to Folder…"in the "Go"menu in Finder's Menu Bar. The keyboard shortcut is shift+command+G.
您实际上不必使用终端,您可以通过使用Finder 菜单栏中“前往”菜单中的“前往文件夹...”来访问该文件夹。键盘快捷键是+ + 。shiftcommandG
Paste ~/Library/Developer/Xcode/UserData/FontAndColorThemes
in the resulting dialog.
粘贴 ~/Library/Developer/Xcode/UserData/FontAndColorThemes
到结果对话框中。
Note:this folder only exists once you add or duplicate a theme.
注意:此文件夹仅在您添加或复制主题后才存在。