sync-settings | Synchronize all your settings and packages across atom | Code Editor library
kandi X-RAY | sync-settings Summary
kandi X-RAY | sync-settings Summary
Synchronize settings, keymaps, user styles, init script, snippets and installed packages across Atom instances.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initiator for the user .
sync-settings Key Features
sync-settings Examples and Code Snippets
Community Discussions
Trending Discussions on sync-settings
QUESTION
At some point during the last two weeks eslint started to mark lines like these as errors, I am unable to pinpoint exactly what contributed to this.
My OS (Arch) was updated several times and package.json packages also suffered sporadic updates.
I had to even force Atom to recognize my JSX files correctly (with JSX grammar), since syntax highlighting for the default Javascript grammar got whacked too.
I have tried completely removing the atom package as well as config, but I am using Atom package sync-settings
to backup and restore my configuration.
ANSWER
Answered 2018-Nov-14 at 20:51Maybe it helps. Try install "babel-eslint" and then add it "parser": "babel-eslint",
to your .eslintrc.json file
QUESTION
After installing atom on a certain station I have equipped it with all the required packages. Then I have installed "sync-settings", for the purpose of cloning the atom setup for all the other stations in my LAB. Till this point everything looks OK. All the contents was uploaded as it was supposed to, and I find it in the gist that I have created.
Now I have tried to install atom on several more stations and after installing the "sync-settings" package (along with setting up all the gist and github details) I have tried to perform a sync-settings:restore action.
It looks like sync-settings is looking for the same path (as the one that was synchronized in the beginning) and therefore when I try to perform the restore it fails due to "no such file or directory, open...".
What should I do in order to be able to restore the packages when I actually do it with different users (and stations) which causes the path to sync to be different. Is it possible to do that ?
Note: the full message looks like "Uncaught Error: ENOENT: no such file or directory, open 'C:\Users\newprivate.atom\C:\Users\originalprivate.atom\config.cson'" (new private and originalprivate are replacing the user and domain names)
...ANSWER
Answered 2018-Oct-29 at 09:37I solved the problem by simply editing the config.cson file path. All I needed to do in order to be able to Restore the settings into other stations with Atom, was to remove the part of the path which was unique to the station that I fully set with Atom (the one that I backed up its settings)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sync-settings
Disclaimer: GitHub Gists are by default public. If you don't want other people to easily find your gist (i.e. if you use certain packages, storing auth-tokens, a malicious party could abuse them), you should make sure to create a secret gist.
Open Sync Settings configuration in Atom Settings.
Create a new personal access token which has the gist scope and be sure to activate permissions: Gist -> create gists.
Copy the access token to Sync Settings configuration or set it as an environmental variable GITHUB_TOKEN.
Create a new gist:
The description can be left empty. It will be set when invoking the backup command the first time.
Use packages.json as the filename.
Put some arbitrary non-empty content into the file. It will be overwritten by the first invocation of the backup command
Save the gist.
Copy the gist id (last part of url after the username) to Sync Settings configuration or set it as an environmental variable GIST_ID.
Click on Menu "Open Your Config" to edit Atom's config.cson
Use these keys:
Install the package from the command line: apm install sync-settings
Launch Atom passing in GITHUB_TOKEN and GIST_ID. For example:
You will still need to make sure you add your gist id and github token to the Sync Settings configuration in Atom Settings OR set them as environment variables in your shell configuration.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page