解决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

相关推荐
roamingcode19 小时前
超越 Context Window:为何文件系统是 AI Agent 的终极记忆体
人工智能·agent·cursor·claude code·上下文工程·skill 技能
袋鱼不重2 天前
保姆级教程:让 Cursor 编辑器突破地区限制,正常调用大模型(附配置 + 截图)
前端·后端·cursor
彭涛3612 天前
断点调试: 使用 VS Code / Cursor 调试器
cursor
longze_72 天前
生成式UI与未来AI交互变革
人工智能·python·ai·ai编程·cursor·蓝湖
带娃的IT创业者3 天前
Cursor 新增的 Plan 和 Debug 模式介绍
人工智能·python·cursor·ai辅助开发·ai开发工具·ai开发技巧
薛定谔的猫24 天前
Cursor 系列(2):使用心得
前端·ai编程·cursor
peterfei4 天前
当AI编辑器学会了Shell命令:IfAI v0.2.6深度测评与实战指南
ai编程·cursor
QING6184 天前
移动端攻城狮 —— 浅谈 AI 编程对我的影响?
openai·ai编程·cursor
2501_941871455 天前
面向分布式事务与最终一致性设计的互联网系统高可靠架构与多语言工程实践分享
intellij-idea·visual studio code
会煮咖啡的猫5 天前
Cursor AI Skills 实战:自动生成 Flutter 页面、代码与文档
flutter·ai编程·cursor