[转载] 如何给vscode添加插件仓库的方法
https://github.com/slackwarecn/slackbook_cn_loongarch64/issues/1
关键步骤:
diff --git a/product.json b/product.json
index 9bd0ea1..c13e47b 100644
--- a/product.json
+++ b/product.json
@@ -32,6 +32,11 @@
"reportIssueUrl": "https://github.com/microsoft/vscode/issues/new",
"urlProtocol": "code-oss",
"webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-cdn.net/insider/ef65ac1ba57f57f2a3961bfe94aa20481caca4c6/out/vs/workbench/contrib/webview/browser/pre/",
+ "extensionsGallery": {
+ "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
+ "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
+ "itemUrl": "https://marketplace.visualstudio.com/items"
+ },
"builtInExtensions": [{
"name": "ms-vscode.js-debug-companion",
"version": "1.0.18",