- 快速生成简单类
{
"majiao Class Object": {
"prefix": "classHpp",
"body": [
"#ifndef ${1:${TM_FILENAME_BASE/(.*)/_${1:/upcase}_H/i}} ",
"#define $1 ",
" ",
"#include \"MajiaoObject.hpp\" ",
" ",
"class ${2:${TM_FILENAME_BASE}} : public MajiaoObject { ",
" public : ",
" ${2}() { } ",
" ~${2}() { } ",
"}; ",
"#endif\t// $1",
],
"description": "class ext from Object majiaoClassSnippet"
}
}