{
/*vs code IDE代码注释*/
"file and class notes": {
"prefix": "n1",
"body": ["/*
* $1
*
* $2
*
* @author $3
* @create $4
* @version $5
*/"
],
"description": ""
},
"variable notes": {
"prefix": "n2",
"body": ["/*
* $1
*
* @var $2 $3
*/"
],
"description": ""
},
"function notes": {
"prefix": "n3",
"body": ["/*
* $1
*
* @access public
* @param $2 $3 $4
* @return $5 $6 $7
*/"
],
"description": ""
},
"modify others code notes": {
"prefix": "n4",
"body": ["/*
* $1
*
* Modify by gch$3, $4
*/"
],
"description": ""
},
"public function": {
"prefix": "p1",
"body": [
"public function $1($2) {
$3
}"
],
"description": ""
},
"private function": {
"prefix": "p2",
"body": [
"private function $1($2) {
$3
}"
],
"description": ""
},
"protected function": {
"prefix": "p3",
"body": [
"protected function $1($2) {
$3
}"
],
"description": ""
},
"exception function": {
"prefix": "e1",
"body": [
"try {
$1
} catch ($2Exception \$e) {
$3
}"
],
"description": ""
}
}