首页 > 其他 > 详细

vscode使用插件来添加文件说明和函数说明——42header——psioniq File Header——koroFileHeader

时间:2019-12-21 15:54:51      阅读:368      评论:0      收藏:0      [点我收藏+]

技术分享图片

 

技术分享图片

 

 

技术分享图片

 

 安装号以后,设置快捷键如下:

 技术分享图片

同时需要根据自己的需要的修改json文件

// 文件头部注释
	"fileheader.customMade": {
		"Description": "",
		"version": "",
		"Author": "liming",
		"Date": "Do not edit",
		"LastEditors": "liming",
		"LastEditTime": "Do not Edit"
	},
	//函数注释
	"fileheader.cursorMode": {
		"name": "",
		"description": "",
		"param": "",
		"return": "",
		"other": "",
	},
	"psi-header.templates": [
		{
		  	"language": "*",
		  	"template": [
			"FileName: <<filename>>",
			"Remark: <<filename>>",
			"Project: <<projectname>>",
			"Author: <<author>>",
			"File Created: <<filecreated(‘dddd, Do MMMM YYYY h:mm:ss a‘)>>",
			"Last Modified: <<dateformat(‘dddd, Do MMMM YYYY h:mm:ss a‘)>>",
			"Modified By: <<author>>"
		  	]
		}
	],
	
	"42header.username": "NLT",
	"42header.email": "NL@nlt.com",
	"explorer.confirmDelete": false,

  

vscode使用插件来添加文件说明和函数说明——42header——psioniq File Header——koroFileHeader

原文:https://www.cnblogs.com/CodeWorkerLiMing/p/12077017.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!