AnswerBun.com

Is there a way to export syntax color settings from one Xcode installation to a new one?

Ask Different Asked on December 25, 2020

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 ?

4 Answers

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.

Correct answer by Matthew Frederick on December 25, 2020

As of Xcode Version 11.6 (11E708), the file extension for color themes is xccolortheme.

The path to the included themes is:

/Applications/Xcode.app/Contents/SharedFrameworks/DVTUserInterfaceKit.framework/Versions/A/Resources/FontAndColorThemes

The path to a user's custom themes is the same as in the accepted answer:

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

To install a custom theme, you can simply drag the xccolortheme file into the folder for custom themes; quit Xcode, then restart Xcode. The theme will now appear in Xcode's Preferences for Fonts & Colors.

Answered by leanne on December 25, 2020

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.

Answered by George on December 25, 2020

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.

Answered by Eimantas on December 25, 2020

Add your own answers!

Related Questions

Create a disk image for recovery

1  Asked on January 26, 2021 by ispiro

         

Unmount Volume on User Logout

2  Asked on January 24, 2021 by haravikk

       

How do I reduce the delay when unlocking my Mac?

1  Asked on January 23, 2021 by freeviruses

     

iPhone: share with instagram

10  Asked on January 22, 2021 by user62304

     

macOS High Sierra: Create Windows bootable Usb

6  Asked on January 21, 2021 by yannisalexiou

       

iPhone 6- Boot Loop- Error 9

0  Asked on January 20, 2021 by salient24

         

Reattaching microphone on iMac 21.5″ 2017

0  Asked on January 17, 2021 by orun

     

HTTP connections by neo4j clients blocked

0  Asked on January 16, 2021 by oscar-serna

   

How do I force a “Waiting” file to upload to iCloud?

11  Asked on January 15, 2021 by dan-j

 

Changing MAC Address and undoing changes

1  Asked on January 14, 2021 by zy-mazza

     

MacBook Pro 2020 Fan Issues

1  Asked on January 13, 2021 by ifandonlyif

         

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP