draivin / hsnips

HyperSnips: a powerful snippet engine for VS Code, inspired by vim's UltiSnips
MIT License
154 stars 25 forks source link

How do I synchronize `.hsnips` files on different devices #159

Open ustcwl opened 1 year ago

ustcwl commented 1 year ago

I can't use synchronize .hsnips files by Setting Sync. Can anyone solve this problem?

gruvw commented 1 year ago

I agree with this, we should have a way to sync .hsnips files more easily.

ustcwl commented 1 year ago

I'm going to synchronize with git for the time being, because I need to compare different versions of files

gruvw commented 1 year ago

This is also the solution I am currently using to manage and sync my .hsnips but I think that an integration with VSCode Settings Sync would be great (if possible).

Alex2134556 commented 4 months ago

If you have iCloud you can sync the hsnips folder via the Document+Desktop sync. The idea is that you will store the hsnips folder in the Document folder and then create a symbolic link from there to the original location of hsnips. Do the same for the other computer; then any changes are instantaneously transferred between devices. For more information: https://apple.stackexchange.com/a/311513