// 打开kororheader插件,进入fileheaderconfig,用下述代码替换两个字段 // { "fileheader.configObj": { "createFileTime": true, "language": { "languagetest": { "head": "/$$", "middle": " $ @", "end": " $/" } }, "autoAdd": true, // 自动添加头部注释开启才能自动添加 "autoAddLine": 100, // 默认文件超过100行就不再自动添加头部注释 "autoAlready": true, "annotationStr": { "head": "/*", "middle": " * @", "end": " */", "use": false }, "headInsertLine": { "php": 2, "sh": 2 }, "beforeAnnotation": { "文件后缀": "该文件后缀的头部注释之前添加某些内容" }, "afterAnnotation": { "文件后缀": "该文件后缀的头部注释之后添加某些内容" }, "specialOptions": { "特殊字段": "自定义比如LastEditTime/LastEditors" }, "switch": { "newlineAddAnnotation": true }, "supportAutoLanguage": [], "prohibitAutoAdd": [ "json","md","txt" ], "prohibitItemAutoAdd": [ "项目的全称, 整个项目禁止自动添加头部注释, 可以使用快捷键添加" ], "moveCursor": true, "dateFormat": "YYYY-MM-DD HH:mm:ss", "atSymbol": [ "@", "@" ], "atSymbolObj": { "文件后缀": [ "头部注释@符号", "函数注释@符号" ] "c": ["", "@"] // .c 文件注释头中用空格替换@ "h": ["", "@"] // .h 文件注释头中用空格替换@ "py": ["", "@"] // .py 文件注释头中用空格替换@ "sh": ["", "@"] // .sh 文件注释头中用空格替换@ "mk": ["", "@"] // .mk 文件注释头中用空格替换@ }, "colon": [ ": ", ": " ], "colonObj": { "文件后缀": [ "头部注释冒号", "函数注释冒号" ] }, "filePathColon": "路径分隔符替换", "showErrorMessage": false, "writeLog": false, "wideSame": false, "wideNum": 13, "functionWideNum": 0, "CheckFileChange": false, "createHeader": true, "useWorker": false, "designAddHead": false, "headDesignName": "random", "headDesign": false, "cursorModeInternal": false },   "fileheader.cursorMode": {     "name": "",     "msg": "",     "return": ""   },   "fileheader.customMade": {      "Copyright ":"(C) 2022 Phytium Information Technology, Inc. \r\nAll Rights Reserved.\r\n \r\nThis program is OPEN SOURCE software: you can redistribute it and/or modify it \r\nunder the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, \r\neither version 1.0 of the License, or (at your option) any later version. \r\n \r\nThis program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; \r\nwithout even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\nSee the Phytium Public License for more details. \r\n \r\n", "FilePath":"only file name", //只展示文件名      "Date":" Do not edit" ,      "LastEditTime":" Do not edit \r\n" ,      "Description":" This file is for \r\n",      "Modify History":"\r\n Ver   Who        Date         Changes\r\n----- ------     --------    --------------------------------------" }, "editor.formatOnType": true, "editor.defaultFormatter": "ms-vscode.cpptools", "C_Cpp.updateChannel": "Insiders", "gitlens.advanced.messages": { "suppressGitMissingWarning": true }, "workbench.editorAssociations": { "*.ipynb": "jupyter-notebook" }, "terminal.integrated.tabs.enabled": true, "explorer.confirmDragAndDrop": false, "window.zoomLevel": 2, "notebook.cellToolbarLocation": { "default": "right", "jupyter-notebook": "left" }, "files.eol": "\n", "cmake.configureOnOpen": false, "files.associations": { "makefile": "makefile" }, }