将基于 VSCode 的第三方编辑器的商店源修改为 VSCode 商店源
由于 open-vsx 的软件源不如 VSCode 的商店源新,更不如 VSCode 的商店源齐全,所以需要自行修改为 VSCode 源。
注意:一些 Microsoft 开发的插件,可能无法使用。比如 WSL
等插件只支持 VSCode。
位于安装包的 resources\app\product.json
文件下:
ls $env:LOCALAPPDATA\Programs\
"extensionsGalleryQoder": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"controlUrl": "https://main.vscode-cdn.net/extensions/marketplace.json",
"itemUrl": "https://marketplace.visualstudio.com/items"
},
只需要上述三个即可。完整的 VSCode 配置如下:
"extensionsGallery": {
"nlsBaseUrl": "https://www.vscode-unpkg.net/_lp/",
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"itemUrl": "https://marketplace.visualstudio.com/items",
"publisherUrl": "https://marketplace.visualstudio.com/publishers",
"resourceUrlTemplate": "https://{publisher}.vscode-unpkg.net/{publisher}/{name}/{version}/{path}",
"extensionUrlTemplate": "https://www.vscode-unpkg.net/_gallery/{publisher}/{name}/latest",
"controlUrl": "https://main.vscode-cdn.net/extensions/marketplace.json",
"mcpUrl": "https://main.vscode-cdn.net/mcp/servers.json",
"accessSKUs": [
"copilot_enterprise_seat",
"copilot_enterprise_seat_quota",
"copilot_enterprise_seat_multi_quota",
"copilot_enterprise_seat_assignment",
"copilot_enterprise_seat_assignment_quota",
"copilot_enterprise_seat_assignment_multi_quota",
"copilot_enterprise_trial_seat",
"copilot_enterprise_trial_seat_quota",
"copilot_for_business_seat",
"copilot_for_business_seat_quota",
"copilot_for_business_seat_multi_quota",
"copilot_for_business_seat_assignment",
"copilot_for_business_seat_assignment_quota",
"copilot_for_business_seat_assignment_multi_quota",
"copilot_for_business_trial_seat",
"copilot_for_business_trial_seat_quota"
]
},