代码拉取完成,页面将自动刷新
{
"main": {
"prefix": "main",
"description": "Insert a main function, used as an entry point.",
"body": ["void main(List<String> args) {", " $0", "}"]
},
"try": {
"prefix": "try",
"description": "Insert a try/catch block.",
"body": ["try {", " $0", "} catch (${1:e}) {", "}"]
},
"if": {
"prefix": "if",
"description": "Insert an if statement.",
"body": ["if ($1) {", " $0", "}"]
},
"if else": {
"prefix": "ife",
"description": "Insert an if statement with an else block.",
"body": ["if ($1) {", " $0", "} else {", "}"]
},
"switch case": {
"prefix": "switch",
"description": "Insert a switch statement.",
"body": [
"switch ($1) {",
" case $2:",
" $0",
" break;",
" default:",
"}"
]
},
"for": {
"prefix": "for",
"description": "Insert a for loop.",
"body": ["for (var i = 0; i < ${1:count}; i++) {", " $0", "}"]
},
"for in": {
"prefix": "fori",
"description": "Insert a for-in loop.",
"body": ["for (var ${1:item} in ${2:items}) {", " $0", "}"]
},
"while": {
"prefix": "while",
"description": "Insert a while loop.",
"body": ["while ($1) {", " $0", "}"]
},
"do while": {
"prefix": "do",
"description": "Insert a do-while loop.",
"body": ["do {", " $0", "} while ($1);"]
},
"fun": {
"prefix": "fun",
"description": "Insert a function definition.",
"body": ["${3:void} ${1:name}(${2:args}) {", " $0", "}"]
},
"class": {
"prefix": "class",
"description": "Insert a class definition.",
"body": ["class ${1:Name} {", " $0", "}"]
},
"typedef": {
"prefix": "typedef",
"description": "Insert a typedef.",
"body": "typedef ${1:Type} ${2:Name}(${3:params});"
},
"test": {
"prefix": "test",
"description": "Insert a test block.",
"body": ["test('$1', () {", " $0", "});"]
},
"group": {
"prefix": "group",
"description": "Insert a test group block.",
"body": ["group('$1', () {", " $0", "});"]
},
"enum": {
"prefix": "enum",
"description": "Insert a enum.",
"body": ["enum ${1:Name} {", " $0", "}"]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。