效果:
/*
* @Author: ***
* @Date: 2022-01-13 11:02:46
* @Last Modified by: ***
* @Last Modified time: 2022-06-13 11:14:35
* @Description: 翻页
*/
1. 插件库里搜索:file header
2. install
3. setting配置:
file =》Preferenes =》 Settings
4. 搜索 file header
5. 填写作者,和编辑人
6. 填写tpl:
/*\r\n * @Author: {author} \r\n * @Date: {createTime} \r\n * @Last Modified by: {lastModifiedBy} \r\n * @Last Modified time: {updateTime} \r\n * @Description: \r\n */\r\n
7. 重启vscode
8. Ctrl + Alt + i:
/*
* @Author: 张三
* @Date: 2022-06-13 11:27:10
* @Last Modified by: 张三
* @Last Modified time: 2022-06-13 11:27:10
* @Description:
*/
版权声明:本文为samberina原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。