cursor如何安装vscode插件
2025年11月28日 19:52
前言
下面会分享 cursor 中如何安装 vscode插件
方案一
点击 插件市场 图标,通过 搜索框 搜索相关插件
![]()
方案二
有时候在 vscode 发布的插件并不一定能在 cursor 的插件市场搜到,我们可以选择手动安装,这里以 mac 电脑为例
首先,我们随意点击一个插件,找到 Size
![]()
点击这个 Size 能打开 cursor 插件 的安装目录
![]()
我们把要安装的 vscode 插件 放到 extensions 目录 中,再把 extensions.json 中的插件相关信息拷贝一下,以我的 文件名复制插件 Copy Filename Pro 为例,它的信息是这样的
{
"identifier": {
"id": "chouchouji.copy-filename-pro",
"uuid": "30cb65df-4ab9-4842-b8ed-5daae96f8096"
},
"version": "0.3.0",
"location": {
"$mid": 1,
"path": "/Users/xxx/.cursor/extensions/chouchouji.copy-filename-pro-0.3.0",
"scheme": "file"
},
"relativeLocation": "chouchouji.copy-filename-pro-0.3.0",
"metadata": {
"installedTimestamp": 1744702279283,
"pinned": false,
"source": "gallery",
"id": "30cb65df-4ab9-4842-b8ed-5daae96f8096",
"publisherId": "ac995f6c-c315-46fc-b922-8ce3a7e5884f",
"publisherDisplayName": "chouchouji",
"targetPlatform": "undefined",
"updated": false,
"private": false,
"isPreReleaseVersion": false,
"hasPreReleaseVersion": false
}
}
将这个配置放到插件同层级的 extensions.json 中就大功告成了
![]()