-
Notifications
You must be signed in to change notification settings - Fork 6k
retrieving extensions from a custom marketplace #1762
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
Comments
Thanks very much and that is very helpful!!! |
@KolyaKorruptis Why'd you end up closing this issue? Did the environment variables end up working? |
Just tested and |
@KolyaKorruptis Yes you technically can use Microsoft's marketplace but please note it is against their terms of use. |
Documented this further in #1767 |
@nhooyr I closed it immediately, because it isn't actually a feature request. There isn't anything to do here. It's just some information I wanted to pass on. Regarding the env vars: I may have forgotten to source .bashrc after setting them. Not sure, I'd have to test again. But the changes I described above are easier and more encompassing, as you can also add extension recommendations, etc. So I would always prefer that way. Nevertheless some more description on $SERVICE_URL and |
I understand but that's standard notation for environment variables. It comes from shell scripts. It gets verbose otherwise to explicitly mention |
Ah, I see, well that's just my ineptitude on linux then. Nevermind. |
In order to get extensions from a custom marketplace, the FAQ suggest to set two environment variables: $SERVICE_URL and $ITEM_URL. In my experience these are ignored by code-server.
It turns out you can still achieve this is editing the file: code-server/lib/vscode/product.json
Copying the extension related settings from another product.json like this one for example provided me with all the updated extensions.
The text was updated successfully, but these errors were encountered: