当前位置:网站首页>vscode korofileheader 的配置

vscode korofileheader 的配置

2022-06-27 05:58:00 JunnGee

vscode korofileheader 的配置


安装完后,操作ctrl+shift+p,选择在setting.json"中编辑,输入以下设置后保存,然后重启vscode更新设置。

"fileheader.customMade": {
           
    "FilePath":"only file name",
    "Author":"jack",
    "Date":"Do not edit",
    "LastEditors":"",
    "LastEditTime":"Do not Edit",
    // "custom_string_obkoro1~custom_string_obkoro100都可以输出自定义信息"
    "custom_string_obkoro1_copyright":"Copyright: ${now_year} xxxTech CO.,LTD. All Rights Reserved.", 
    "Descripttion":"",
},
"fileheader.cursorMode": {
    
    "brief":"",
    "param" : " ",
    "return":""
},

默认,头文件注释:ctrl + windows + i , 函数注释:ctrl + windows + t

如果快捷键⽆效,可以优先考虑是快捷键产⽣了冲突,直接搜索对应的fileheader、cursorTip名字,然后加上对应的快捷键即可。

原网站

版权声明
本文为[JunnGee]所创,转载请带上原文链接,感谢
https://blog.csdn.net/gejun318/article/details/125429720