Package Details: code-marketplace 1.99.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: 114
Popularity: 4.65
First Submitted: 2020-10-28 13:56 (UTC)
Last Updated: 2025-04-06 13:14 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

Pinned Comments

sainnhe commented on 2021-04-05 08:00 (UTC) (edited on 2025-04-18 09:02 (UTC) by sainnhe)

This package basically installs a hook that will patch /usr/lib/code/product.json to use vscode marketplace every time extra/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 »

sainnhe commented on 2023-08-13 13:33 (UTC)

Upgrading notes for v1.81.1

The code has been refactored in python, upgrading requires manual interventions:

pacman -Rdd code code-marketplace
pacman -S code code-marketplace

Don't reinstall them, uninstall and install these packages instead.

Since the code has been refactored, you can easily modify the code to upgrade to a new version by yourself if I cannot update this package in time. Simply download the latest tarball from code.visualstudio.com and extract them, then run update.py to update patch.json (The usage is documented in update.py), and run makepkg --skipchecksums -i to rebuild and install this package.

yxzhou commented on 2023-07-16 16:32 (UTC)

I have been struggling to install Pylance for a long time, thank you very much

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 2025-04-18 09:02 (UTC) by sainnhe)

This package basically installs a hook that will patch /usr/lib/code/product.json to use vscode marketplace every time extra/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.