vscode中设置文件头和函数头 在插件商店中安装koroFileHeader点击左下角设置图标,点击设置搜索fileheader设置”fileheader.customMade“:{} //文件头 "Description":"", "Vesion":"", "Author":"", "Date":"Do not Edit", "LastEditors":"", "LastEditTime":"Do not Edit" "Path":"" 设置"fileheader.cursorMode":{} //函数头 "name":"", "params":"", "return":"" 参考: https://segmentfault.com/a/1190000014915900.