zokugun / vscode-vsix-manager

Install extensions from your own sources
MIT License
16 stars 4 forks source link

Cannot find extension in official Marketplace #17

Open greenrd opened 1 year ago

greenrd commented 1 year ago

I am using the vscodium flatpak and I am following the instructions to install and use this extension to make vscodium use the official Microsoft VSCode marketplace.

I have added a source in vsix.sources pointing to https://marketplace.visualstudio.com/_apis/public/gallery, but the extension I want to install (Purple Yolk) is still not found.

daiyam commented 1 year ago

This extension doesn't change the source the extension explorer. It downloads and installs a list of extensions (vsix.extensions) from several sources (vsix.sources)

So you will need to add the config (ms between the source's name for Visual Studio Marketplace)

{
    "vsix.extensions": [
        "ms:taylorfausak.purple-yolk",
    ],
}

or from the releases on github:

{
    "vsix.extensions": [
        "github:tfausak/purple-yolk",
    ],
}
GitMensch commented 10 months ago

Would it be possible to "inject" the sources into the marketplace search, at least with VSCodium?

daiyam commented 10 months ago

I don't think it will be possible without patching VSCodium. The best would be to create an UI that's read the vsix.sources and edit the vsix.extensions on install. It would also need to keep track on the uninstalls

GitMensch commented 10 months ago

There already was an extension with a ui: https://github.com/joelspadin-garmin/vscode-private-extension-manager (I think that doesn't work any more); if you feel this is needed then you may mimic that (copy 1:1 may not be possible because of the different license).

But if VSCodium could be patched to handle that in its normal extension ui (actually additional to the marketplace end points), then this would definitely be preferable.