• 注释代码片段


    {
    /*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": ""
    }
    }
  • 相关阅读:
    HTML5---offline application(application cache)
    apache asp.net
    长轮询
    comet ajax轮询
    bootstrap3
    weixin
    backbone csdn
    backbone case
    backbone showcase
    javascript performance
  • 原文地址:https://www.cnblogs.com/phonecom/p/6514213.html
Copyright © 2020-2023  润新知