Not working with OSS code
🐛 Describe the bug
"sync:download" does not install the extensions you specified when you ran "sync: upload/update".
🌴 Visual Studio Code Version : [ Version 1.27.2 (1.27.2) ] 🌴 Code Settings Sync Version : [ 3.1.2 ] 🌴 Operating System : [ MacOS Sierra 10.12.6 ] 🌴 Occurs On: [ Download ] 🌴 Proxy Enabled: [ NA ] 🌴 Gist Id: [ NA ]
📰 To Reproduce Steps to reproduce the behavior:
- start by installing a few extensions that you wish to have synced when people use your gist.
- uploading will work and confirm that your extensions have been uploaded.
- although your Gist shows the extensions, running sync download will not install them.
- There is no error message, the extensions you are expecting to see installed simply just do not get installed.
💪 Expected behavior The extensions we specified when we did the upload should be installed when we "sync: download" on a new machine.
📺 Console Error Log No errors, "sync: download" will just ignore any setting you choose in an attempt to get it to download the extensions you have listed.
📺 Additional context TO THE DEVELOPER- This Sync extension is really really great... if this "extension ignore bug" can be fixed this will really be a wonderful tool. Thank you for your help getting this solved.
I can confirm this.
- VSCode 1.27.2
- Code Sync 3.1.2
- OS: Antergos
- Kernel: Linux 4.18.12-arch1-1-ARCH
Came here to report this as well.
- VSCode 1.27.2
- Code Sync 3.1.2
- OS Arch Linux
- Kernel 4.18.12-arch1-1-ARCH
I am confirming this on Solus. I am using the code-oss variant.
Confirming this:
VSCode 1.27.2 Code Sync 3.1.2 OS Linux Mint Kernel 4.15.0-36-generic
Console output confirm extensions being installed or being already installed, but extensions do not load in VSCode.
Maybe related to this:
- Locally installed extensions reside in: /home/$USER/.var/app/com.visualstudio.code/data/vscode/extensions
- Synced extensions reside under: /home/$USER/.vscode/extensions/
UPDATE: I was able to solve the issue by uninstalling VSCode from the Software Manager and installing it from the .deb file with the Package Installer.
It seems that when installing through Software Manager the settings and extensions locations are different.
Hope this helps anyone else.
I have the same problem
vscode: 1.27.2 (user setup) code sync: 3.1.2 os: Windows 10
It seems that when installing through Software Manager the settings and extensions locations are different.
Guys try using Package Installer .deb file
If you are using portable VS Code, Settings Sync dont support it.
Same to me.
- VSCode-Insiders 1.27.2
- Code Sync 3.1.2
- OS: Win 10 Pro
- Clean install for all - win, vscode, sync
Same
- VSCode: 1.27.2
- Code Sync: 3.1.2
- OS: Manjaro 17.1.12
Upload summary:
CODE SETTINGS SYNC UPLOAD SUMMARY
Version: 3.1.2
--------------------
GitHub Token: ***
GitHub Gist: ***
GitHub Gist Type: Secret
Restarting Visual Studio Code may be required to apply color and file icon theme.
--------------------
Files Uploaded:
extensions.json > extensions.json
bat.json > bat.json
c.json > c.json
cpp.json > cpp.json
ftp-simple.json > ftp-simple.json
keybindings.json > keybindings.json
locale.json > locale.json
material-icon-theme.json > material-icon-theme.json
plaintext.json > plaintext.json
python.json > python.json
settings.json > settings.json
csharp.json > snippets|csharp.json
markdown.json > snippets|markdown.json
vsicons.settings.json > vsicons.settings.json
Extensions Ignored:
No extensions ignored.
Extensions Removed:
No extensions removed.
Extensions Added:
advanced-new-file v1.2.0
amvim v1.30.0
Angular2 v6.2.0
angular2-switcher v0.1.9
auto-rename-tag v0.0.15
battery-indicator v1.0.0
better-comments v2.0.2
Bookmarks v9.1.0
bootstrap4-vscode v4.3.0
bracket-pair-colorizer v1.0.60
code-settings-sync v3.1.2
code-spell-checker v1.6.10
comment v7.0.0
csharp v1.16.2
csharpextensions v1.3.0
csharpfixformat v0.0.75
dark-plus-material v1.4.3
debugger-for-chrome v4.10.2
docomment v0.1.2
docthis v0.7.1
dotnet-core-essentials v0.0.5
dotnet-test-explorer v0.5.4
eclipse-theme v0.0.9
EditorConfig v0.12.4
expand-region v0.1.2
FlatUI v1.4.8
flow-for-vscode v0.8.4
ftp-sync v0.3.3
gitlens v8.5.6
Go v0.6.91
html-css-class-completion v1.17.1
html-tag-wrapper v0.2.3
HTMLHint v0.5.0
java v0.32.0
JavaScriptSnippets v1.7.1
Lisp v0.1.8
MagicPython v1.1.0
markdown-all-in-one v1.6.2
markdown-checkbox v1.3.0
markdown-preview-enhanced v0.3.8
Material-theme v2.17.3
mips v0.0.2
mono-debug v0.15.8
ng-template v0.1.10
node-debug2 v1.28.3
open-in-browser v2.0.0
org-mode v0.5.0
path-intellisense v1.4.2
php-debug v1.12.6
php-formatter v0.2.4
plastic v2.2.0
PowerShell v1.9.0
prettier-vscode v1.6.1
preview-vscode v1.4.4
project-manager v9.0.1
python v2018.9.0
python v0.2.3
quicktype v12.0.46
rainglow v1.5.2
rust v0.4.10
spacemacs v1.1.1
theme-dark-monokai v0.3.0
theme-dracula v2.14.1
theme-karyfoundation-themes v18.2.1
theme-panda v1.3.0
tslint v1.0.40
typescript-javascript-grammar v0.0.45
typings-installer v0.2.0
vscode-angular2-files v1.6.2
vscode-autohotkey v0.2.2
vscode-clock v0.0.1
vscode-color v0.4.5
vscode-docker v0.3.1
vscode-eslint v1.6.0
vscode-firefox-debug v1.7.0
vscode-great-icons v2.1.44
vscode-html-css v0.2.0
vscode-icons v7.27.0
vscode-ipaddress v1.0.0
vscode-java-debug v0.14.0
vscode-language-pack-zh-hans v1.28.2
vscode-markdownlint v0.20.0
vscode-nuget-package-manager v1.1.6
vscode-power-mode v2.2.0
vscode-react-native v0.6.18
vscode-rust v0.4.2
vscode-table-formatter v1.2.1
vscode-versionlens v0.21.2
--------------------
Done.
Download summary:
CODE SETTINGS SYNC DOWNLOAD SUMMARY
Version: 3.1.2
--------------------
GitHub Token: ***
GitHub Gist: ***
GitHub Gist Type: Secret
Restarting Visual Studio Code may be required to apply color and file icon theme.
--------------------
Files Downloaded:
bat.json > bat.json
c.json > c.json
cpp.json > cpp.json
extensions.json > extensions.json
ftp-simple.json > ftp-simple.json
keybindings.json > keybindings.json
locale.json > locale.json
material-icon-theme.json > material-icon-theme.json
plaintext.json > plaintext.json
python.json > python.json
settings.json > settings.json
snippets|csharp.json > snippets|csharp.json
snippets|markdown.json > snippets|markdown.json
vsicons.settings.json > vsicons.settings.json
Extensions Ignored:
No extensions ignored.
Extensions Removed:
No extensions removed.
Extensions Added:
No extensions installed.
--------------------
Done.
I have the same problem
vscode: 1.27.2 (user setup) code sync: 3.1.2 os: Windows 10
This problem persists if the extension autoupdate is disabled.
@ZhangYue-vhyt are you using OSS or standard ? can you show the image the developer console. Clearing the console and hit download and see what is written in developer console.
- VSCode 1.27.2 OSS version
- Code Sync 3.1.2
- OS: Antergos
- Kernel: Linux 4.18.12-arch1-1-ARCH
Same problem, it's because of the OSS version somehow. I then changed to the closed source verison 1.28.0 and the settings sync is working.
Visual Studio Code Version : [ Version 1.28.1 (system setup)] 🌴 Code Settings Sync Version : [ 3.1.2 ] 🌴 Operating System : [ windows10 1703[x64] ] 🌴 Occurs On: [ Download ] 🌴 Proxy Enabled: [ NA ] 🌴 Gist Id: [ NA ]
Same issue with OSS version (the one bundled in Solus)
Share the developer console log, v3.2 is going to publish in a week. I will try to add this in v3.2
I only have this :
[Extension Host] Sync : Connected with user : 'Wykks' (at GitHubService.github.users.get.then.res (/home/[user]/.vscode/extensions/shan.code-settings-sync-3.1.2/out/src/service/githubService.js:76:25))
[Extension Host] /usr/share/vscode/code-oss (at Function.<anonymous> (/home/[user]/.vscode/extensions/shan.code-settings-sync-3.1.2/out/src/service/pluginService.js:214:21))
My code config is here /home/[user]/.config/Code (but it's a symbolic link to /home/[user]/.config/Code - OSS)
Extensions (as shown in console log) are here : /home/[user]/.vscode
I'm having the same issue: Visual Studio Code Version : OSS [ Version 1.27.2 (1.27.2) ] Code Settings Sync Version : [ 3.2.0 ] Operating System : [ Manjaro Linux ]
I'm having the same issue: Visual Studio Code Version : OSS [ Version 1.27.2 (1.27.2) ] Code Settings Sync Version : [ 3.2.0 ] Operating System : [ Manjaro Linux ]
Update VSCode to 1.28 in AUR can solve this problem.
Can you guys update using latest version of code and settings sync v3.2.2
This is still broken on the latest version. Also is there a way for this extension to stop defaulting to .config/Code on the OSS version on Linux. I have to manually symlink the .config/Code - OSS folder so the extension doesn't crash
I have same problem.
My environment is recent Arch Linux and using package community/code.
Settings Sync version is 3.2.2.
When executing > Sync: Download Settings, I get this error message on OUTPUT view.
"bin/code" --install-extension eamodio.gitlens
Error: Command failed: "bin/code" --install-extension eamodio.gitlens
/bin/sh: no such file or directory: bin/code
Digging around the code, I assumed that problem is here
Arch Linux's /usr/bin/code of community/code is a script something like
ELECTRON_RUN_AS_NODE=1 exec electron /usr/lib/code/out/cli.js /usr/lib/code/code.js "$@"
here's the source
And finally the process is running with something like
/usr/lib/electron/electron (with..lots..of..arguments)
Therefore I think you should not rely that process.argv0 ends with code.
In case of using aur/visual-studio-code-bin package, this problem won't occur since process is running with /opt/visual-studio-code/code, and also /opt/visual-studio-code/bin/code exists.