Code Snippets sync on all device or iCloud or Github?

I start to feel the need for code snippets :-)

i just create my first one, and then i remembered that i often erase my computer, and i have two computers that i use xCode on (MacBook and MacBook Air).

How to keep those snippets on all machine in sync and/or bring them back after a clean install.


i found this xCode plugin which is 5 years old, i do not know if it work

https://github.com/acoomans/ACCodeSnippetRepositoryPlugin


but i guess the best way for me would be to have this xcode pref on icioud drive

i am not sure but i think that is system preference -> keyboard -> text

all replacement created there are sync to new machine,

it would be nice to have something like that for snippets

of maybe it is already like that


any suggestions


Thank you

Replies

Using `Symbolic Link` files to iCloud Drive Folder.