From 4dd2c86ccaa50fd84fb42bf27177f859668f941f Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Tue, 4 Aug 2020 10:11:11 -0400 Subject: [PATCH] FAQ: Demonstrate how to switch the marketplace --- doc/FAQ.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/FAQ.md b/doc/FAQ.md index 3d7727fb..bbc2ad6a 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -86,9 +86,20 @@ If you have your own marketplace that implements the VS Code Extension Gallery A point code-server to it by setting `$SERVICE_URL` and `$ITEM_URL`. These correspond directly to `serviceUrl` and `itemUrl` in VS Code's `product.json`. +e.g. to use [open-vsx.org](https://open-vsx.org): + +```bash +export SERVICE_URL=https://open-vsx.org/vscode/gallery +export ITEM_URL=https://open-vsx.org/vscode/item +``` + While you can technically use Microsoft's marketplace with these, please do not do so as it -is against their terms of use. See [above](#differences-compared-to-vs-code). These variables -are most valuable to our enterprise customers for whom we have a self hosted marketplace product. +is against their terms of use. See [above](#differences-compared-to-vs-code) and this +discussion regarding the use of the Microsoft URLs in forks: + +https://github.com/microsoft/vscode/issues/31168#issue-244533026 + +These variables are most valuable to our enterprise customers for whom we have a self hosted marketplace product. ## Where are extensions stored?