"fileheader.cursorMode": {} // 函数注释 "fileheader.configObj": {} // 插件配置项 二、使用 关闭自动添加头部注释,需要在 VSCode setting.json 文章中添加配置: 1 2 3 4 "fileheader.configObj": { "autoAdd": false, // 关闭自动生成头部注释 } 文件
// korofileheader 注释插件 设置里面找到 Custom Made 写入以下配置 "fileheader.customMade": { //此为头部注释 "Description": "", "Version": "2.0", "Author": "xuchaoxin", "Date": "Do not edit", "LastEditors": "xuchaoxin", "LastEditTime": "Do not edit" }, "fileheader.cursorMode"...
// 设置"fileheader.configObj":{"language":{// 普通后缀文件"js":{"head":"/$$","middle":" $ @","end":" $/",// 函数自定义注释符号:如果有此配置 会默认使用"functionSymbol":{"head":"/*** ",// 统一增加几个*号"middle":" * @","end":" */"}},// 一次匹配多种文件后缀文件 ...
"fileheader.customMade": {} // 头部注释 "fileheader.cursorMode": {} // 函数注释 "fileheader.configObj": {} // 插件配置项 二、使用 关闭自动添加头部注释,需要在 VSCode setting.json 文章中添加配置: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 "fileheader.configObj": { "autoAdd": ...
Fileheader: Cursor Mode 在光标处插入函数注释,默认配置:{‘description’:‘’,‘param’:‘’,‘return’:‘’} Fileheader: Custom Made 头部注释,默认设置:{‘Author’:‘git config && git config user.email’,‘Date’:‘Do not edit’,‘LastEditors’:‘git config ’,‘LastEditTime’:‘Do not ...
所有生成头部注释的场景都会生成图案注释 "cursorModeInternalAll": {}, "openFunctionParamsCheck": true, "functionParamsShape": ["{", "}"], "functionBlankSpaceAll": {}, "functionTypeSymbol": " ", // 参数没有类型时的默认值 "typeParamOrder": "type param", "customHasHeadEnd": {}, "...
配置 //打开vscode的配置文件setting.json (在设置里搜索setting) "fileheader.customMade": { //头部注释配置 "autoAdd": false, // 默认开启自动添加头部注释 "desc": "", "params": "", "return:": "" }, "fileheader.cursorMode": { //函数注释配置 "desc": "", "params": "", "return:"...
默认配置: 在用户首选项中搜索fileheader,默认配置为: "fileheader.customMade": {} // 头部注释"fileheader.cursorMode": {} // 函数注释 用户未设置的情况下,头部注释和函数注释模板为: 自定义模板: 在用户设置中,搜索fileheader 复制默认配置+修改配置,重启生效 ...
"LastEditTime": "Do not edit", "Description": "file content" } // 在光标处插入函数注释,默认配置:{'description':'','param':'','return':''} "fileheader.cursorMode": { "description": "", "param": "", "return": "" } // 生成头部注释 ...
插件里面安装在settings里面找到settings.json里面配置要注释的内容 “fileheader.customMade” 配置的是头部注释, “fileheader.cursorMode” 配置的是文件中的注释 工具sublime实践使用记录 背景sublime安装pretty json插件,优化json数据格式。sublime进行批量操作。 过程sublime安装pretty json插件在sublime的编辑界面,按快捷键...