问题
在使用 Cursor 安装插件的过程中,发现搜索插件会出现
Error while fetching extensions failed to fetch
无法安装插件影响使用。
解决办法
- 在 Cursor 界面通过 F1 快捷键(或者 Command + Shift + P)打开命令弹窗,搜索
Developer: Toggle Developer Tools并打开 Network panel
2. 在 Cursor 插件列表重新搜索插件,查看请求发送的地址是不是
https://marketplace.cursorapi.com,如果是的话继续往下看
- 打开 Cursor 应用程序的「显示包内容」
4. 修改 Contents/Resources/app/product.json
- 将
https://marketplace.cursorapi.com替换为https://marketplace.visualstudio.com
6. 重新启动 Cursor,无视 macOS 安全信息或者在
系统设置-隐私与安全性允许打开