Add gist ID from command line to force sync on VSC install
See original GitHub issueI’m creating bash scripts to allow me setup dev configuration by running few commands.
Currently I’m installing VSC from brew, running
code --install-extension Shan.code-settings-sync
And then I want to pass GIST id and force sync on VSC start. However looks like it’s not possible now, as I could understood (https://github.com/shanalikhan/code-settings-sync/issues/465#issuecomment-349903749). Guys, maybe you have any ideas how I could implement it?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Settings Sync in Visual Studio Code
You can always change what is synced via the Settings Sync: Configure command or by opening the Manage gear menu, selecting Settings Sync...
Read more >How to Sync VS Code Settings Between Multiple Devices and ...
Step 1: Install Settings Sync; Step 2: Authorize access to Github; Step 3: Upload your ... Adding Gist ID to Settings Sync configuration....
Read more >Settings ⚙️ - How to Python in VS Code documentation
Press ctrl+Shift+P to open the command prompt and select Sync: Update/Upload Settings option to upload your settings and save to a github gist....
Read more >Visual Studio Code Settings Synchronization - Shan Ali Khan
To Install : type “ext install code-settings-sync” ... new window will be opened to allow you to select the GIST or Skip to...
Read more >Visual Studio code sync settings github gist ID - Stack Overflow
As you can see, there's an URL https://vscode-sync.trafficmanager.net/ that actually is a CNAME to a cloudapp.net domain (at Azure), which is in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Check the features on Readme.
https://github.com/shanalikhan/code-settings-sync#features
If you want to do manually see the Global Settings
I’m doing settings sync on first run like this in my Linux docker file with online version of VSCode called code-server. If you change
code-server
in script below tocode
, it will work for normal VSCode too.Basically creating VSCode
settings.json
and adding gist ID to it usingjq
and then creatingsyncLocalSettings.json
config with"downloadPublicGist": true
. When VSCode (code-server) is opened first time, settings download gets successfully started. If you don’t want auto-download to start, change"sync.autoDownload": true
tofalse
Now I only need to find a way to initialize VSCode first run bootstrap through command line /bash