馃挕 Is your feature request related to a problem? Please describe.
As VSCode 1.35 turned remote development to stable version, can we support sync settings on remote vscode server?
I'm using VSCode 1.35.1 on Windows 10 x64 1903 with WSL, when I use remote mode, VSCode will install a server version on ~/.vscode-server on WSL, and the settings located on ~/.vscode-server/data/Machine/settings.json, which different to Linux default ~/.config/Code/User/settings.json, so if I tried to upload or download settings, Settings Sync missing the config files and throw errors to debug console
Someone have figured this issue on https://github.com/shanalikhan/code-settings-sync/issues/870
Maybe there is same problem on Remote - SSH and Remote - Container, but I don't have any environment to test.
馃挕 Describe the solution you'd like
Support sync on remote development, include SSH, Container, WSL.
馃挕 Additional context
Nothing.
Thank you for this extension, it helped me a lot on develop on different machines.
Duplicate of #668
@whusnoopy
Can you try this build by @arnohovhannisyan
and let me know if is helps, this build will be released in v3.3.0
@shanalikhan This version can work when all the config files under ~/.config/Code/User, but VSCode on Windows with Remote - WSL placed config files under ~/.vscode-server/data/Machine, as VSCode won't update settings under ~/.config/Code/User, the Settings Sync always upload a wrong file
@whusnoopy Can you please install it and see if it works? This build should work perfectly fine with WSL.
@arnohovhannisyan I've uninstalled old version in VSCode local and WSL then installed from the .vsix file, but I'm not sure which version I'm running now because the public version from market and the .vsix file both show version 3.2.9, I noticed the error message changed so I assumed I've installed the .vsix.
I will do a clean installation later today, and record everything I did to check which step get wrong.
Finally, I've use another computer to test install extension from the vsix file, and the Settings Sync appear on Local Installed section in extension page, won't show in WSL Installed, or can be installed on WSL.
This vsix file won't show any error or warning message with Remote WSL anymore. But I don't know how to install it on WSL side, so the settings in WSL still on local only.
Maybe we've talked on two different problems above, I want to sync settings in WSL or other remote server, you are fixing the extensions sync issues when connect to WSL.
OS: Windows 10 1903 x64, build 18362.175
VSCode: 1.35.1
WSL: Ubuntu 18.04.2 LTS
I have released new version of Settings Sync v3.3.0 fixing this issue. Im closing this ticket let me know if u guys run into some problem
The remote extension list for WSL does not seem to sync yet was this working for you @shanalikhan ?
This did not work for me, lost all my WSL extensions because I didn't verify the backup 馃槶
Any update on this? Seems to not be working by my cursory lookthrough.
From what I understand, remote development creates a folder .vscode-server on the host. If you just create a tarball of your local extensions (i.e. tar -czvf extensions.tar.gz extensions/) and then scp that to the remote host and unarchive it in .vscode-server/extensions it works as expected. Just stinks that the settings sync won't do it automatically for you
From what I understand, remote development creates a folder
.vscode-serveron the host. If you just create a tarball of your local extensions (i.e.tar -czvf extensions.tar.gz extensions/) and then scp that to the remote host and unarchive it in.vscode-server/extensionsit works as expected. Just stinks that the settings sync won't do it automatically for you
An utterly annoying workaround. What's the point of this sync, if I have to do the dirty work for it.
Any proper fix in the works yet? ~80% of my extensions are on WSL...
That sad! I went to restore my configuration for my Windows WSL environment and nothing came in the settings.json file in WSL.
Sad!
@shanalikhan
Any updates on this? This issue should also be re-opened...
Preferences Sync now exists in VSCode Insiders Edition and seems to sync my settings between Mac, Windows, and WSL just fine. Not sure when it will hit the stable version of VSCode but insiders has worked well for me.
@coreydowning
Thanks for the info. So it is up to VS Code for this to work?
The VSCode preferences sync makes this extension mostly obsolete.
@coreydowning
Oh, sorry, I misunderstood. So this is a setting within VS Code itself? I didn't know about that. Thanks for sharing!
Hi,
Indeed this is not solved.
After starting to work on the WSL (that is live since Windows 10 2004) on my windows PC and doing a mechanical "Sync: Upload Settings" I lost all my plugins on my other mac and linux machines.
I will have a look on the VSCode preferences sync
Most helpful comment
That sad! I went to restore my configuration for my Windows WSL environment and nothing came in the settings.json file in WSL.
Sad!