Codebox Dropbox Sync

codebox dropbox sync

bla

Update: As codebox supports selecting the path for the snippet Library, there is no need for this workaround any more.

I actually found Codebox in Mac App Store. It is a very handy snippet manager and I like it a lot because it helps me writing all that code I always can´t remember when I need it.

For syncing my snippet-library on all my Macs I found a way to sync Codebox via Dropbox:

Quit Codebox

  • go to: user/Library/Preferences and move the file: com.shpakovski.mac.codebox.plist to your dropbox folder
  • Drop the Codebox Icon to the Dock
  • Press ALT while open Codebox in the Dock
  • You are asked to „create a new library“ or „choose new library“ in a dialog
  • Choose the Library in your Dropbox Folder
  • On your other Mac do this: delete library in Preferences Folder, open Codebox with ALT + click, choose your created dropbox-library

If this is not working, delete your existing library and create a new one (be carefull, alle your data will be gone):

  • Quit Codebox
  • go to: user/Library/Preferences and delete the file: com.shpakovski.mac.codebox.plist
  • Drop the Codebox Icon to the Dock
  • Press ALT while open Codebox in the Dock
  • You are asked to „create a new library“ in a dialog
    Do that in your Dropbox Folder
  • On your other Mac do this: delete library, open Codebox with ALT + click, choose your created dropbox-library

This works perfect on my two Macs. Tell me if it works for you.

Von Veröffentlicht unter Web

2 comments

  1. david

    Hi, after doing this scripts codebar looses completely every reference to my libraries, something as codebar cannot locate codebox paths.. there is a way to undo to default settings?
    thank you

    • cnmd

      Hey, sorry for the late response. I used this workaround for the first version of codebox in january 2011. In later versions you can select the path for the Library direct in codebox (File -> New Library), so there is no need for the workaround any more and in my version (1.6) it is even not working any more. Did you try to place the Library back in the preferences folder and select it as default again?

Kommentar verfassen

Du kannst die folgenden HTML-Codes verwenden:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>