@sainnhe Thanks, I experimented a bit with the JSON. It's clear to me now that "extensionsGallery" is really 1 JSON object with unique names, and trying to make an array [] behind the "serviceUrl" and "itemUrl" with multiple URL strings inside it did not have success. :( :P
It's only the "linkProtectionTrustedDomains" which easilly accepts more URLs because it already is an array.
Adding the entire thing below each other did also not work, VS Code just chooses the last one of those (actually already surprising that VS Code did not crash on it, since the JSON like that with duplicate names is actually not even a valid one)
So nope, no luck. Uninstalling your extension and reinstalling it is simply the most easy way to switch. At least I can also update my extensions from Open-VSX that way.
Pinned Comments
sainnhe commented on 2021-04-05 08:00 (UTC) (edited on 2021-04-09 10:08 (UTC) by sainnhe)
This package basically installs a hook that will patch
/usr/lib/code/product.json
to use vscode marketplace every timecommunity/code
is updated.There are some extensions in vscode marketplace that don't work with Code OSS (e.g. pylance and remote-ssh), you can install
code-features
(thanks to @Lightsword) orcode-features-insiders
(thanks to @coxackie_) to unblock them.Btw, you may also be interested in code-icons by @coxackie which will replace the icon of Code OSS with VSCode's.