且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“未找到扩展程序"从源代码运行 Visual Studio Code 时

更新时间:2021-10-18 08:45:25

这可以通过在 product.json 中添加以下内容来解决:

This can be fixed by adding following to product.json:

"extensionsGallery": {
    "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
    "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
    "itemUrl": "https://marketplace.visualstudio.com/items"
}

(这也可以通过从官方构建中复制 product.json(在 .zip archvieproduct.json 位于 resources/app 下),其中包含以上几行).

(This is can also be fixed by copying product.json from an official build (in the .zip archvie, product.json is under resources/app) which contains above lines).

更多信息:https://github.com/Microsoft/vscode/issues/1557一个>