解决Cursor插件市场无法打开或加载缓慢问题

问题

在Cursor商店中,无法下载所需的插件,或者搜索插件时需要等待很长时间。

问题原因

Cursor默认使用的插件市场并非VS Code的插件市场,且由于国内网络环境的限制,可能无法正常访问。

解决方案

打开Cursor安装目录下的 resources\app\product.json 文件。

修改文件中 extensionsGallery 的配置(将下文的内容复制并覆盖原本内容)。

修改插件市场的地址后,重启Cursor。

原始配置:

json 复制代码
"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": ""
},

修改后的配置:

json 复制代码
"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"
},

done

相关推荐
用户5394187290710 小时前
Cursor 一次改出几百行 diff、逐行看根本看不过来?我固定了一套 review 顺序,专盯这几处,夹带的私货一抓一个准
ai编程·cursor
formulahendry2 天前
在 VS Code 里自由切换 Copilot、Claude、Codex、OpenCode、Pi、Kimi、Qwen:任何 Agent 都能接
visual studio code·vs code·acp
badhope2 天前
Cursor转Codex大半个月实测:迁移成本、代码质量与那些没人说的隐性坑点
ai编程·cursor
用户539418729074 天前
别只在 prompt 里让 AI 别碰文件:我给仓库装了四道提交闸门,越界直接拒绝提交
ai编程·cursor
开开心心就好4 天前
打印机卡住打不了?一键清理卡死打印队列
服务器·开发语言·算法·pdf·ocr·idea·visual studio code
用户539418729075 天前
Cursor 用着用着就抽风?补全失灵、Agent 乱改、一直转圈、额度狂掉,我整理了一张对症排查表
ai编程·cursor
用户539418729076 天前
祖传项目一行测试都没有、改一下全靠赌?我用 Cursor 逐步补出最小测试安全网
ai编程·cursor
jerrywus6 天前
让 AI 写完代码后交一份报告:我改造了 answer-me-with-html
前端·claude·cursor
code_Bo6 天前
从策划到上线:我和 AI 一起做了个微信记账小程序
前端·ai编程·cursor