iproto
Version:
39 lines (38 loc) • 915 B
JSON
{
"Enum Declaration": {
"prefix": "enum",
"body": ["enum ${1:Name} {", "", "}"]
},
"Struct Declaration": {
"prefix": "struct",
"body": ["struct ${1:Name} {", "", "}"]
},
"Service Declaration": {
"prefix": "service",
"body": ["service ${1:Name} {", "", "}"]
},
"Exception Declaration": {
"prefix": "exception",
"body": ["exception ${1:Name}"]
},
"Scalar Declaration": {
"prefix": "scalar",
"body": ["scalar ${1:Name}.[]"]
},
"Import Module": {
"prefix": "use",
"body": ["use ${1:Name}::{ ${2:Target} }"]
},
"Filed Declaration": {
"prefix": "filed",
"body": ["${1:Name} ${2:Type}"]
},
"Directive Declaration": {
"prefix": "directive",
"body": ["directive ${1:Name} on ${2:Location}"]
},
"Alias Declaration": {
"prefix": "alias",
"body": ["alias ${1:Name} ${2:Type}"]
}
}