Package Details: code-marketplace 1.96.0-1

Git Clone URL: https://aur.archlinux.org/code-marketplace.git (read-only, click to copy)
Package Base: code-marketplace
Description: Enable vscode marketplace in Code OSS
Upstream URL: https://marketplace.visualstudio.com/vscode
Licenses: unknown
Submitter: sainnhe
Maintainer: sainnhe
Last Packager: sainnhe
Votes: 107
Popularity: 2.96
First Submitted: 2020-10-28 13:56 (UTC)
Last Updated: 2024-12-21 09:25 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

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 time community/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) or code-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.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

jongeduard commented on 2022-05-30 21:37 (UTC)

@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.

sainnhe commented on 2022-05-28 00:41 (UTC)

@jongeduard: As far as I know, the built-in extension manager of vscode doesn't support this feature. Vscode will read data in product.json on startup and the values it used won't be changed until next startup.

Maybe you can find out if there are any third-party extension managers that support this feature, or you can directly download the vsix file of this extension and install it manually.

jongeduard commented on 2022-05-27 20:47 (UTC) (edited on 2022-05-27 20:49 (UTC) by jongeduard)

Hi sainnhe,

Do you know if there exists any possibility to configure things in such a way that we have both the MSFT Marketplace and open-vsx.org in the product.json?

The reason I am asking this is because of the free-omnisharp-vscode extension, which is a fork of the default OmniSharp extension with the difference that it uses Samsung's MIT licenced netcoredbg instead of the closed source vsdbg debugger from Microsoft. But free-omnisharp-vscode is only on open-vsx.org, which I like to give a try as well.

Oreeeee commented on 2022-05-10 22:53 (UTC)

Thank you

coxackie commented on 2021-04-06 11:21 (UTC)

many thanks @sainnhe - this is great work.

If anyone is interested, and based on sainnhe's PKGBUILDs, I also created code-icons to replace the (very ugly, in my opinion) code - oss icon with nice vscode ones. Works completely independently of the packages here.

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 time community/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) or code-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.

sainnhe commented on 2020-12-05 00:40 (UTC) (edited on 2020-12-05 00:50 (UTC) by sainnhe)

@sperg512: OK. But path detection is still necessary, see 5fd1ae9.

You can consider adding it to vscodium-bin-marketplace.

sperg512 commented on 2020-12-04 13:25 (UTC) (edited on 2020-12-04 13:27 (UTC) by sperg512)

Yeah it still fails to patch /usr/lib/code/product.json. I think I'll create vscodium-bin-marketplace later, thanks!

You can revert it back to the previous commit, I've got this downloaded so I can just use the patch things.