收藏你喜欢或者通用的代码
在 settings.json 添加收藏地址,地址为系统根路径
{
"codecollector.pathList": [
{
"path": "/Users/codecollector/utils/", // windows -> D:/Users/codecollector/utils/
"pathName": "utils"
},
{s
"path": "/Users/codecollector/components/",
"pathName": "components"
}
]
}
- 收藏一段代码
流程:选择要收藏的代码 -> 右击选择Collect code -> 选择收藏目录 -> 填写文件名 -> 成功!
- 收藏文件或文件夹
流程:选择要收藏的文件或文件夹 -> 右击选择Collect File -> 选择收藏目录 -> 填写文件或文件夹名 -> 成功!
- 获取收藏的代码
流程:在编辑器中右击Get Code Collection -> 选择收藏目录 -> 选择收藏的代码文件 -> 成功!
- 获取收藏的文件或文件夹
流程:在文件夹上右击选择Get File Collection -> 选择收藏的文件或文件夹 -> 确认文件或文件夹名称 -> 成功!