csch0 / sublimetext-package-syncing Goto Github PK
View Code? Open in Web Editor NEWKeep your Sublime Text installations synchronised across multiple machines
Keep your Sublime Text installations synchronised across multiple machines
Does this handle removing packages?
I am currently using Will's method, but if I remove a package on one machine and replace it with something else (like going from AlignTab to Alignment now that it supports ST3) it will install the new plugin, but not remove the one I removed from the other machine.
I appreciate having a higher level tool for package syncing that can be used with google drive. It avoids some of the privacy issues that sometimes arise. Package syncing is currently working correctly, however their was a hiccup right after I installed - all of my previous installed packages disappeared. There is a small chance that this was triggered by an unrelated event, however I want to say that package syncing was the root of the problem. Fortunately I only had 5 packages that I using at the time and now they are all reinstalled and synced across my machines. I just wanted to let you know and ask whether this had happened with other users and if you had any thoughts.
It could be awesome to sync packages with string-based storages, such as gist.github.com, instead of simply dropbox, because of a simpler installation process (just login into the website, instead of downloading dropbox and logging in) and the added benefit of more easily sharing your configuration.
This brings up the question, how feasible do you think it would be to serialize the packages state to a string?
I just installed Package Syncing through Package Control. However, when I browse the repo here, then I notice that I probably did not get the most up to date version. For example, my settings file was almost empty and I don't have access to the package settings via the menus. Is this something that should be fixed? Or did I do something wrong when I installed the package?
Is there a way or will there ever be a way to sync projects and their workspaces? For example by selecting a directory to hold all the project and workspaces files to be synced.
sync_folder
is currently an absolute path, which prevents (ironically) syncing the PackageSyncing settings between different machines.
For example, if my home directory is /home/usera and /home/userb on two different machines, and I copy my Sublime .config/sublime-text-3/Packages/User/
settings between the two machines (which includes the Package Syncing plugin), I run into issues.
Suggested Remedy: Run os.path.expanduser
or os.path.expandvars
on sync_folder
.
Alternately, prefix the home directory to the path if it does not start with a /
or \
(i.e., is a relative path).
Currently, there is no user setting to ignore some files (like the configuration for Terminal and OpenFolder whom are SO-specific)
Exploring the package, I found you can use the "files_to_ignore" key (but it must be copied, because it overrides the default one); but if you delete a file in the sync directory it is deleted in the Packages/User directory even if it is in the ignore list.
Hey there, just wanted to give you a heads up that the demo images you are using in the README.md file appear to no longer be located in their referenced locations in your GitHub account. The Package Syncing page over on Package Manager is also referencing these broken urls. If you have chance, it would be much appreciated if you could upload those images again! :)
Thanks!
when I remove the package, cpu change to normal. so I think that anything wrong with your package?
mbp pro 2016
osx 10.12.6
ST3 3143
Package Syncing fails at complete Sync due to a Runtime Error:
[2013-09-13 13:43:33,621 - INFO - package_syncing.tools] Package Syncing - Start Complete Sync
Exception in thread Thread-16:
Traceback (most recent call last):
File ".\threading.py", line 532, in __bootstrap_inner
File ".\package_syncing\tools.py", line 25, in run
RuntimeError: Must call on main thread, consider using sublime.set_timeout(function, timeout)
Due to this reason, I think my Dropbox Folder is empty.
Specs:
The documentation doesn't provide me with a clear starting point after installation. I have installed the package over package control, but I have no idea what to do next. I intend to sync my stuff over a server of mine, but I do not know where to begin. The plugin itself doesn't help me either. A nice place to start, a tutorial would be much appreciated.
A wiki article might help.
My situation is that I need a different value of font_size because of display resolution differences between two computers. Right now, I have to go in and edit font_size in Preferences.sublime-settings, or, use kbd shortcuts to change the size. Perhaps a LocalOverrides folder in which I could set font_size differently on the problematic computer?
Is this possible?
I have a plugin that I didn't install through package control and I guess Package Syncing goes through the packages setting file? Is it possible to sync packages not present there? Maybe drag them into the sync folder manually.
If it's not possible I guess this would be a feature request. :)
Does this package sync other config too, like
The 'normal' ST settings don't change a lot with me, but other settings do. Are those syncable?
Do I have to manually create the settings file? I don't see anything under 'preferences' in Sublime Text 3 and I also see no documentation about how to set any of the options.
When I'm defining a new target sync folder, this folder is created without problems on Dropbox. Unfortunately Package syncing throws an error when subfolders are present, as they are not found on Dropbox:
Exception in thread Thread-143:
Traceback (most recent call last):
File "X/threading.py", line 639, in _bootstrap_inner
File "package_syncing.thread in C:\Users\nirazul\AppData\Roaming\Sublime Text 3\Installed Packages\Package Syncing.sublime-package", line 85, in run
File "package_syncing.thread in C:\Users\nirazul\AppData\Roaming\Sublime Text 3\Installed Packages\Package Syncing.sublime-package", line 398, in push_all
File "package_syncing.thread in C:\Users\nirazul\AppData\Roaming\Sublime Text 3\Installed Packages\Package Syncing.sublime-package", line 429, in push
FileNotFoundError: [WinError 3] Das System kann den angegebenen Pfad nicht finden: 'C:\\Users\\nirazul\\Dropbox\\sync\\sublimetext3test\\snippets\\js'
When creating them manually the files are copied appropriately.
One thing that also puzzles me: When editing opion files in my normal User-folder, the plugin does not seem to register it or push it to Dropbox. Trying out the other direction (editing a dropbox file) works fine.
If git is installed (and can be found in PATH or its path is stated in settings), use it to create a repo in sync folder, and then automatically commit/push and pull/merge (automatically if possible) the synced content. This should prevent problems with keeping different sets of settings on different machines and unwanted overrides.
Hi, I am not shure if that's the right place, but I hope we can have a discussion here.
I am running Sublime3 on Windows, Mac and Linux syncing the User Package over Dropbox.
This works fine and and already does what you showed.
The problems I have are
The issue would be: i am curious what this plugin does. How would it help.
Frank
When I activate this plugin, the cpu usage of plugin_host goes to 22% and stays there all the time.
When I added a previously synced directory to be ignored, then the package stopped syncing it. However, it did not remove the previously synced copy. That I had to remove from the sync directory myself.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.