-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code-settings-sync extension cannot install extensions when using linux build #72
Comments
@paulcarroty Yes! Looks like there are some differences in the way the VSCodium binary is exposed, like VSCodium build of MacOS has Also the If somebody can help with it, I can create a PR to fix it in |
@ganapativs better move this issue to I tried to make the |
@paulcarroty I'll also raise the issue in |
Hi @ganapativs! Thank you for this really well documented issue, that is very helpful. You might have already said this and I missed it, but does this extension work when using MS VS Code on Linux? Wondering if the extension just doesn't know how to handle the Linux installation of VS Code or if it has to do with something we changed during build. |
@stripedpajamas Yes. I'm using VSCode in Ubuntu right now. Also migrating extension from VSCode to VSCodium should works for now in Linux. But this is a temporary fix. Also as @paulcarroty suggested, should I raise the same issue in |
I see. Since that extension doesn't explicitly support VSCodium, a PR would probably go a long way further than an issue. In MS Visual Studio Code, do you have |
Yes, VSCode has I'll see if I can create a PR. But in the meantime if someone is familiarity with the |
@ganapativs I think I found where MS is treating Linux/Windows differently than Mac: https://github.com/Microsoft/vscode/blob/master/build/gulpfile.vscode.js#L408 It looks like for Linux and Windows, the So I think we could possibly edit the logic of this line pre-build to rename to |
@stripedpajamas Thats a great find 👏 But renaming binary to The other half of the problem is in this line and this line. Which is probably specific to this extension.
I'm not sure if |
Agree. Hope we'll avoid side effects this time. |
On second thought, we should try to minimize all changes to the vscode repo prebuild when possible. It makes more sense to PR code-settings-sync to look for product.applicationName when applicable. |
Hmmm. Either way should work fine. I'll spend some time on |
I think we should add such cases to |
@ganapativs can you confirm that the fix @paulcarroty linked to works for you (in VSCodium)? If so, I agree we should add this to the docs. |
@stripedpajamas it works, I tried on another machine. |
code-settings-sync
extension cannot install extensions when using linux build. Tested on latest Ubuntu.Steps to reproduce:
amd64
orx64
)code-settings-sync
extensionReason:
bin/code
file inside installation path, whereas linux builds havebin/vscodium
filecode-settings-sync
extension resolvesbin/code
binary inside installation folder(source)Why does it resolves to bin/code?
Looks like issue with this line.
Eg: When debian build of VSCodium is installed, the vscodium binary path is resolved to
/usr/share/vscodium/vscodium
(initialmyExt
in above source) and then it resets it tobin/code
.I see that VSCodium support was merged to
code-settings-sync
here, this works fine. but this PR doesn't cover linux path resolution fix while installing extensions.Does this issue belongs here or should I raise the issue in
code-settings-sync
repo?The text was updated successfully, but these errors were encountered: