vscode的snippet代码片段

  1. 快速生成简单类
{
  "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"
  }
}

vscode的snippet代码片段

上一篇:2、Android自动测试之Monkey工具


下一篇:Custom Controller CollectionQT样式自定义 003 :Bubblemessage 气泡消息窗