“No extensions found” when running Visual Studio Code from source

后端 未结 1 823
孤街浪徒
孤街浪徒 2020-12-15 22:38

When I try to install any extension in Visual Studio Code (i.e., by pressing Ctrl+P and then running ext install RustyCode), I get a message that <

相关标签:
1条回答
  • 2020-12-15 22:43

    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"
    }
    

    (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).

    More information: https://github.com/Microsoft/vscode/issues/1557

    0 讨论(0)
提交回复
热议问题