fthnjq
Last Updated: February 25, 2016
·
2.659K
· zrxq

Sync Xcode code snippets using Dropbox

You probably know that you can add your own code snippets in Xcode 4.

Those snippets are stored in ~/Library/Developer/Xcode/UserData/CodeSnippets. You can create a symlink in your Dropbox folder to keep your snippets backed up and synced with your other computers:

ln -s ~/Library/Developer/Xcode/UserData/CodeSnippets ~/Dropbox/XcodeSnippets

(replace ~/Dropbox/ with your actual Dropbox folder location)

2 Responses
Add your response

10278

This way you should always restart Xcode if you modify snippet. There is a much better way to manage and sync snippets in Xcode. It is Snippets http://snippets.me/. Check out this demo http://www.youtube.com/watch?v=0qzsVhKqOHw. You can edit and manage your code snippets in Snippets, sync between your computers and using Snippets Distributor for Xcode push them to the Xcode without needing to restart it.

over 1 year ago ·
13101

Nah, doesn't look "much better", thanks for sharing.

over 1 year ago ·