14

I have installed a new XCode 4 on a machine and I'd like to copy/paste the syntax coloring settings from the first one to the new one. How may I do this ?

35

Custom syntax color themes are located in

~/Library/Developer/Xcode/UserData/FontAndColorThemes/

(Note that this directory may not exist if you've not yet modified any of your themes or haven't created a custom theme of your own, but will be created as soon as you do.)

The files have a .dvtcolortheme extension. Simply retrieve the file from that directory and copy it into the same directory on another machine.


I quite like Ethan Schoonover's Solarized themes; I find them to be very readable and easy on the eyes, and can be installed as explained above.

  • Still valid in Xcode 9! – leanne Mar 26 '18 at 23:05
  • Also valid in Xcode 10!! – Sri Harsha Chilakapati Oct 6 '18 at 12:22
  • I only get xccolortheme file, change extension .xccolortheme to .dvtcolortheme work for me. – ooOlly Jul 8 at 7:23
1

I found this answer while looking how to move the new (at the time of writing this answer) Civic theme in Xcode 8 to Xcode 7.3. Now themes are bundled inside of the Xcode application's bundle at following path:

Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/Resources/FontAndColorThemes

Also Xcode8 theme has extension xccolortheme while Xcode7.3 has dvtcolortheme. From my experience - it's safe change the extension without modifying the file itself.

0

With Themeinstaller, you can just open .dvtcolortheme files and they will be installed in your Xcode folder.

In case you wanted some new themes there are many to be found on codethemes.net, having Themeinstaller, you can install them, just by clicking "install" under any of your choice.

  • How do you get the theme from your current Xcode? – user151019 Aug 30 '16 at 10:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .