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

相关推荐
方始终_1 天前
用Spec-kit踩完3个坑后才明白,Constitution才是真正的起点!
ai编程·cursor
磊磊磊磊磊1 天前
一周做了个文章排版工具,分享下如何高效省钱用AI!
ai编程·产品·cursor
ckm紫韵1 天前
Cursor 与 IDEA 互相跳转教程
java·ide·intellij-idea·cursor·ai工具
Karl_wei1 天前
AI 只会淘汰不用 AI 的程序员🥚
aigc·ai编程·cursor
草帽lufei2 天前
VSCode+PicGo实现Markdown图床自动同步
markdown·visual studio code
路西法013 天前
Office-Word-MCP-Server在Cursor中使用方法
cursor·mcp
掘金安东尼3 天前
VSCode V1.107 发布(2025 年 11 月)
前端·visual studio code
单身的人上天堂3 天前
开发中使用iconfont预览太麻烦?我开发了一款VSCode插件来提升效率
前端·javascript·visual studio code
飞哥数智坊3 天前
Cursor 可视化编辑器实测:前端效率新利器,但仍需完善
人工智能·ai编程·cursor
han_3 天前
手把手教你写一个VSCode插件,从开发到发布全流程
前端·javascript·visual studio code