{
// Place your snippets for php here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"ymfun": {
"prefix": "ymhead",
"body": [
"/**",
" * @title 基础的注释方法",
" * @desc 一个很基础的接口注释解析能力",
" * @author 张疯子",
" */"
],
"description": "头部注释代码块"
},
"ymhead": {
"prefix": "ymhead",
"body": [
"/**",
" * @title 基础的注释方法",
" * @desc 一个很基础的接口注释解析能力",
" * @author 张疯子",
" * @url /api/test",
" * @method GET",
" * @tag 测试 基础",
" * @header: name:Authorization require: 1 default: desc:Token",
" * @param name:username type:string require:1 default: desc:参数说明",
" * @return name:id type:int desc:参数说明",
" */"
],
"description": "接口注释代码块"
}
}
vscode+APIDOC-TP根据注释自动生成API文档插件的用户代码块配置
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- apiDoc是一款依赖nodejs根据程序代码注释自动生成文档的工具,比较适合生成restful api程序的文档...
- 第一步在vscode中搜索koroFileHeader如下图 第二步设置koroFileHeader,进入vsco...
- 最近工作需要和其他公司进行项目交接的时候,原以为像往常一样直接交付源代码就行了,谁知道客户公司需要我们提供API文...
- Xcode自带的导出API文档的方法。但作为崇拜猫神的一员的我,使用的是猫神的VVDocumenter插件,惊讶的...
- 实现的功能 主要整合了lombok插件实现getter/setter等通用方法的自动生成,同时自定义实现了一个注释...