You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Settings Sync now use Webviews to allow you to configure settings [#506](https://github.com/shanalikhan/code-settings-sync/issues/506) - Thanks for PR [#876](https://github.com/shanalikhan/code-settings-sync/pull/876) by [@arnohovhannisyan](https://github.com/arnohovhannisyan)
While being free and open source, if you find it useful, please consider supporting it by donating via PayPal or Open Collective. If you are using it in office as a team, please ask your company to support us via Open Collective from just 2$ per month!
11
+
While being free and open source, if you find it useful, please consider supporting it by donating via PayPal or Open Collective. If you are using it in office as a team, please ask your company to support us via Open Collective from just 2\$ per month!
15
12
16
13
<tablealign="center"width="60%"border="0">
17
14
<tr>
@@ -42,7 +39,7 @@ While being free and open source, if you find it useful, please consider support
42
39
43
40
## Key Features
44
41
45
-
```
42
+
```
46
43
1. Use your GitHub account token and Gist.
47
44
2. Easy to Upload and Download on one click.
48
45
3. Show a summary page at the end with details about config and extensions effected.
@@ -51,10 +48,11 @@ While being free and open source, if you find it useful, please consider support
51
48
6. Share the Gist with other users and let them download your settings.
52
49
7. Supports GitHub Enterprise
53
50
8. Support pragmas with @sync keywords: host, os and env are supported.
51
+
9. GUI for changing settings / logging in
54
52
```
55
53
56
-
57
54
## It Syncs
55
+
58
56
```
59
57
All extensions and complete User Folder that Contains
60
58
1. Settings File
@@ -66,85 +64,63 @@ All extensions and complete User Folder that Contains
66
64
```
67
65
68
66
## Shortcuts
67
+
69
68
```
70
69
1. Upload Key : Shift + Alt + U
71
70
2. Download Key : Shift + Alt + D
72
71
```
73
72
74
-
## Steps To Get a Personal Access Token from GitHub
73
+
## Configure Settings Sync
75
74
76
-
This extension requires a Personal Access Token from your GitHub account. You can create one by simply following the steps shown in the pictures below. Make sure you add **Gist** in scope.
75
+
Settings Sync Configuration page will be opened automatically on code start and requires two things to setup:
77
76
78
-
**[Generate New Token](https://github.com/settings/tokens/new?description=code-setting-sync&scopes=gist)**
**Press Shift + Alt + U it will ask your GitHub account access token.**
93
-
94
-
> Type ">Sync" In Command Palette into order download / upload
95
95
96
-
This will automatically open your GitHub settings page, allowing you to generate a new token for the application, as explained in the previous section. This token will allow the extension to create gists.
96
+
You can always **verify created gist** by going to `https://gist.github.com` and checking for a gist named `cloudSettings`
97
97
98
-
Enter the GitHub token in the window and click enter.
Once you select download, after downloading. Settings Sync will display you Summary containing the list of each files and extension being downloaded.
142
118
119
+
New popup will be opened to allow you to restart the code to apply the settings.
143
120
144
121
## Reset Extension Settings
145
122
146
-
> Type ">Sync" In Command Palette and select Reset Extension Settings
147
-
123
+
> Select **"> Sync : Reset Extension Settings"** in the Command Palette to reset your settings
148
124
149
125
## Toggle Auto Download
150
126
@@ -161,6 +137,14 @@ Please make sure you have valid github Token and Gist available to make it work
161
137
162
138
Select Command **"Sync : Advanced Options > Toggle Force Download"** command to Turn ON / OFF the force download.
163
139
140
+
## Toggle Force Upload
141
+
142
+
Force Upload is **disabled by default**. By default, extension won't upload the settings if the gist has newer or identical content. By turning this ON it will always upload without checking for newer settings in the gist.
143
+
144
+
Please make sure you have valid github Token and Gist available to make it work properly.
145
+
146
+
Select Command **"Sync : Advanced Options > Toggle Force Upload"** command to Turn ON / OFF the force upload.
147
+
164
148
## Toggle Auto-Upload on change
165
149
166
150
Auto-upload is **disabled by default**. When the settings are changed and saved this feature will automatically start the upload process and save the settings online.
@@ -169,7 +153,6 @@ Please make sure you have valid github Token and Gist available to make it work
169
153
170
154
Select Command **"Sync : Advanced Options > Toggle Auto-Upload on Settings Change"** command to Turn ON / OFF the auto-upload.
171
155
172
-
173
156
## Toggle Summary
174
157
175
158
Summary is **enabled by default** which shows all files and extensions that are added or deleted on a single page.
@@ -186,9 +169,10 @@ Select Command **"Sync : Advanced Options > Share Settings with Public GIST"**
186
169
187
170
Other users can give your Gist Id to download the Gist, but they can't upload their settings on your Gist.
188
171
189
-
190
172
## Settings
191
173
174
+
Settings can be changed through the settings page, which can be accessed through **"> Sync : Advanced Options > Open Settings Page"**
175
+
192
176
There are two types of settings in Settings Sync.
193
177
I will recommend you to read the configurations details [here](https://medium.com/@itsShanKhan/visual-studio-code-settings-sync-configurations-ed8dd6fd9753).
194
178
@@ -199,19 +183,20 @@ You can customize the settings in gist settings like:
199
183
200
184
```
201
185
1. Configure Gist Id (Environment)
202
-
2. Configure auto upload / download for Github Gist
186
+
2. Configure auto upload / download for Github Gist
203
187
3. Configure extension sync behaviour
204
188
4. Configure force download
205
-
5. Configure quiet sync
189
+
4. Configure force upload
190
+
6. Configure quiet sync
206
191
```
207
192
208
193
```json
209
194
"sync.gist": "0c929b1a6c51015cdc9e0fe2e369ea4c",
210
195
"sync.autoDownload": false,
211
196
"sync.autoUpload": false,
212
197
"sync.forceDownload": false,
198
+
"sync.forceUpload": false,
213
199
"sync.quietSync": false,
214
-
"sync.askGistName": false,
215
200
"sync.removeExtensions": true,
216
201
"sync.syncExtensions": true
217
202
```
@@ -238,33 +223,31 @@ You can customize the sync:
238
223
239
224
```json
240
225
{
241
-
"ignoreUploadFiles": [
242
-
"projects.json",
243
-
"projects_cache_vscode.json",
244
-
"projects_cache_git.json",
245
-
"projects_cache_svn.json",
246
-
"gpm_projects.json",
247
-
"gpm-recentItems.json"
248
-
],
249
-
"ignoreUploadFolders": [
250
-
"workspaceStorage"
251
-
],
252
-
"ignoreExtensions": [
253
-
"ignored_extension_name"
254
-
],
255
-
"gistDescription": "Visual Studio Code Settings Sync Gist",
256
-
"version": 310,
257
-
"token": "YOUR_GITHUB_TOKEN_HERE",
258
-
"downloadPublicGist": false,
259
-
"supportedFileExtensions": [
260
-
"json",
261
-
"code-snippets"
262
-
],
263
-
"openTokenLink": true,
264
-
"lastUpload": null,
265
-
"lastDownload": null,
266
-
"githubEnterpriseUrl": null,
267
-
"hostName": null
226
+
"ignoreUploadFiles": [
227
+
"state.*",
228
+
"syncLocalSettings.json",
229
+
".DS_Store",
230
+
"sync.lock",
231
+
"projects.json",
232
+
"projects_cache_vscode.json",
233
+
"projects_cache_git.json",
234
+
"projects_cache_svn.json",
235
+
"gpm_projects.json",
236
+
"gpm-recentItems.json"
237
+
],
238
+
"ignoreUploadFolders": ["workspaceStorage"],
239
+
"ignoreExtensions": ["ignored_extension_name"],
240
+
"gistDescription": "Visual Studio Code Settings Sync Gist",
Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/code-settings-sync))
0 commit comments