Skip to content
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

Support VS Code / VSCodium #55

Closed
svenefftinge opened this issue Apr 1, 2020 · 6 comments
Closed

Support VS Code / VSCodium #55

svenefftinge opened this issue Apr 1, 2020 · 6 comments
Assignees
Labels
server Component: server

Comments

@svenefftinge
Copy link
Member

svenefftinge commented Apr 1, 2020

In order to allow VS Code/ VSCodium to connect to openvsx, we need to support the proprietary protocol from MS Marketplace, which needs to be revers engineered.
I think an extra endpoint that understands that protocol and adapts it to openvsx would make sense.

@dsseng
Copy link

dsseng commented Apr 1, 2020

What's about a CLI? e.g. user'll be able to run openvsx install author.ext with optional path to code executable. CLI will perform these steps: fetch extension from openvsx to temp directory, run code --install-extension <path> and delete the temp file.

@spoenemann
Copy link
Member

There is already a CLI that could be extended with such a feature:
https://github.com/eclipse/openvsx/tree/master/cli

But that would be a very different user experience than the Extensions view of VS Code.

@spoenemann
Copy link
Member

@spoenemann spoenemann self-assigned this May 11, 2020
spoenemann added a commit that referenced this issue May 18, 2020
@spoenemann
Copy link
Member

Add this to your product.json to use Open VSX in VS Code:

"extensionsGallery": {
	"serviceUrl": "https://open-vsx.org/vscode/gallery",
	"itemUrl": "https://open-vsx.org/vscode/item"
}

@plmrry
Copy link

plmrry commented Aug 5, 2021

"extensionsGallery": {
	"serviceUrl": "https://open-vsx.org/vscode/gallery",
	"itemUrl": "https://open-vsx.org/vscode/item"
}

Hi @spoenemann, dumb question: How do I edit product.json? Where does that file live?

@spoenemann
Copy link
Member

It's in the root of the vscode repository:
https://github.com/microsoft/vscode/blob/main/product.json

It should be somewhere in your local VS Code installation as well. Where exactly depends on your OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server Component: server
Projects
None yet
Development

No branches or pull requests

4 participants