欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Cursor插件市場打不開怎么辦? Cursor插件市場無法打開或加載緩慢解決辦法

  發(fā)布時(shí)間:2025-06-17 15:38:37   作者:佚名   我要評論
cursor默認(rèn)安裝使用的并不是vs code的插件市場,國內(nèi)網(wǎng)絡(luò)有時(shí)候打不開,或者等待時(shí)間很長,下面我們就來看看詳細(xì)的解決辦法

問題描述

在Cursor商店中,無法下載所需的插件,或者搜索插件時(shí)需要等待很長時(shí)間。

error while fetching extensions.failed to fetch

原因分析

Cursor默認(rèn)使用的插件市場并非VS Code的插件市場,且由于國內(nèi)網(wǎng)絡(luò)環(huán)境的限制,可能無法正常訪問。

解決方案

打開cursor安裝目錄下的resources\app\product.json文件,修改extensionsGallery中屬性resourceUrlTemplate、serviceUrl值,修改后值清單如下:

  • 打開Cursor安裝目錄下的 resources\app\product.json 文件。
  • 修改文件中 extensionsGallery 的配置(將下文的內(nèi)容復(fù)制并覆蓋原本內(nèi)容)。
  • 修改插件市場的地址后,重啟Cursor。

原始配置:

"extensionsGallery": {
  "galleryId": "cursor",
  "serviceUrl": "https://marketplace.cursorapi.com/_apis/public/gallery",
  "itemUrl": "https://marketplace.cursorapi.com/items",
  "resourceUrlTemplate": "https://marketplace.cursorapi.com/{publisher}/{name}/{version}/{path}",
  "controlUrl": "",
  "extensionUrlTemplate": "https://www.vscode-unpkg.net/_gallery/{publisher}/{name}/latest",
  "recommendationsUrl": "",
  "nlsBaseUrl": "",
  "publisherUrl": ""
},

修改后的配置:

"extensionsGallery": {
  "galleryId": "cursor",
  "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
  "itemUrl": "https://marketplace.visualstudio.com/items",
  "resourceUrlTemplate": "https://{publisher}.vscode-unpkg.net/{publisher}/{name}/{version}/{path}",
  "controlUrl": "",
  "extensionUrlTemplate": "https://www.vscode-unpkg.net/_gallery/{publisher}/{name}/latest",
  "recommendationsUrl": "",
  "nlsBaseUrl": "https://www.vscode-unpkg.net/_lp/",
  "publisherUrl": "https://marketplace.visualstudio.com/publishers"
},

修改對比:

推薦閱讀:Cursor登錄按鈕點(diǎn)擊沒反應(yīng)怎么辦? Cursor無法登錄的解決方案

相關(guān)文章

最新評論