",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"binc": true
},
"options": {}
},
{
"content": "std::array<${1:T}, ${2:N}> ${3};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"array": true
},
"options": {}
},
{
"content": "std::vector<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"vector": true
},
"options": {}
},
{
"content": "std::deque<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"deque": true
},
"options": {}
},
{
"content": "std::forward_list<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"flist": true
},
"options": {}
},
{
"content": "std::list<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"list": true
},
"options": {}
},
{
"content": "std::set<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"set": true
},
"options": {}
},
{
"content": "std::map<${1:Key}, ${2:T}> ${3};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"map": true
},
"options": {}
},
{
"content": "std::multiset<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mset": true
},
"options": {}
},
{
"content": "std::multimap<${1:Key}, ${2:T}> ${3};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mmap": true
},
"options": {}
},
{
"content": "std::unordered_set<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"uset": true
},
"options": {}
},
{
"content": "std::unordered_map<${1:Key}, ${2:T}> ${3};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"umap": true
},
"options": {}
},
{
"content": "std::unordered_multiset<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"umset": true
},
"options": {}
},
{
"content": "std::unordered_multimap<${1:Key}, ${2:T}> ${3};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ummap": true
},
"options": {}
},
{
"content": "std::stack<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"stack": true
},
"options": {}
},
{
"content": "std::queue<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"queue": true
},
"options": {}
},
{
"content": "std::priority_queue<${1:T}> ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pqueue": true
},
"options": {}
},
{
"content": "std::shared_ptr<${1:T}> ${2} = std::make_shared<$1>(${3});",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"msp": true
},
"options": {}
},
{
"content": "auto ${1} = std::make_shared<${2:T}>(${3});",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"amsp": true
},
"options": {}
},
{
"content": "std::unique_ptr<${1:T}> ${2} = std::make_unique<$1>(${3});",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mup": true
},
"options": {}
},
{
"content": "auto ${1} = std::make_unique<${2:T}>(${3});",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"amup": true
},
"options": {}
},
{
"content": "private",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pri": true
},
"options": {}
},
{
"content": "protected",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pro": true
},
"options": {}
},
{
"content": "public",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pub": true
},
"options": {}
},
{
"content": "friend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fr": true
},
"options": {}
},
{
"content": "mutable",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mu": true
},
"options": {}
},
{
"content": "namespace {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ans": true
},
"options": {}
},
{
"content": "std::cout << ${1} << std::endl;",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cout": true
},
"options": {}
},
{
"content": "std::cin >> ${1};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cin": true
},
"options": {}
},
{
"content": "static_cast<${1:unsigned}>(${2:expr})${3}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sca": true
},
"options": {}
},
{
"content": "dynamic_cast<${1:unsigned}>(${2:expr})${3}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dca": true
},
"options": {}
},
{
"content": "reinterpret_cast<${1:unsigned}>(${2:expr})${3}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rca": true
},
"options": {}
},
{
"content": "const_cast<${1:unsigned}>(${2:expr})${3}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cca": true
},
"options": {}
},
{
"content": "for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) {\n\t${4}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fori": true
},
"options": {}
},
{
"content": "for (${1:auto} ${2:i} : ${3:container}) {\n\t${4}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fore": true
},
"options": {}
},
{
"content": "for (${1:std::vector}<${2:type}>::${3:const_iterator} ${4:i} = ${5:container}.begin(); $4 != $5.end(); ++$4) {\n\t${6}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"iter": true
},
"options": {}
},
{
"content": "for (auto ${1:i} = ${2:container}.begin(); $1 != $2.end(); ++$1) {\n\t${3:std::cout << *$1 << std::endl;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"itera": true
},
"options": {}
},
{
"content": "[${1}](${2}){${3}};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ld": true
},
"options": {}
},
{
"content": "[${1}](${2}){\n\t${3}\n};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lld": true
},
"options": {}
},
{
"content": "try {\n}catch(${1}) {\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"try": true
},
"options": {}
},
{
"content": "auto ${1:name}(${2}) -> ${3:void}\n{\n\t${0}\n};",
"doc": "",
"grammar": "snu",
"label": "auto function",
"matches": {
"af": true
},
"options": {}
}
],
"crystal": [
{
"content": "require \"${1}\"",
"doc": "",
"grammar": "snu",
"label": "require",
"matches": {
"req": true
},
"options": {}
},
{
"content": "case ${1:object}\nwhen ${2:condition}\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"case": true
},
"options": {}
},
{
"content": "when ${1:condition}\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"when": true
},
"options": {}
},
{
"content": "def ${1:method_name}\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"def": true
},
"options": {}
},
{
"content": "private def ${1:method_name}\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pdef": true
},
"options": {}
},
{
"content": "if ${1:condition}\n\t${0:${VISUAL}}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "if ${1:condition}\n\t${2:${VISUAL}}\nelse\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "while ${1:condition}\n\t${0:${VISUAL}}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"wh": true
},
"options": {}
},
{
"content": "getter ${0:name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"r": true
},
"options": {}
},
{
"content": "getter! ${0:name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"r!": true
},
"options": {}
},
{
"content": "getter? ${0:name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"r?": true
},
"options": {}
},
{
"content": "setter ${0:name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"w": true
},
"options": {}
},
{
"content": "setter! ${0:name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"w!": true
},
"options": {}
},
{
"content": "setter? ${0:name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"w?": true
},
"options": {}
},
{
"content": "property ${0:name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rw": true
},
"options": {}
},
{
"content": "property! ${0:name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rw!": true
},
"options": {}
},
{
"content": "property? ${0:name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rw?": true
},
"options": {}
},
{
"content": "def self.${1:class_method_name}\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defs": true
},
"options": {}
},
{
"content": "def initialize(${1})\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defi": true
},
"options": {}
},
{
"content": "do\n\t${0:${VISUAL}}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"do": true
},
"options": {}
},
{
"content": "do |${1:v}|\n\t${2}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dov": true
},
"options": {}
},
{
"content": "it \"${1}\" do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"it": true
},
"options": {}
}
],
"cs": [
{
"content": "${1:public} static int Main(string[] args)\n{\n\t${0}\n\treturn 0;\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sim": true
},
"options": {}
},
{
"content": "public class Application\n{\n\t${1:public} static int Main(string[] args)\n\t{\n\t\t${0}\n\t\treturn 0;\n\t}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"simc": true
},
"options": {}
},
{
"content": "${1:public} static void Main(string[] args)\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"svm": true
},
"options": {}
},
{
"content": "if (${1:true})\n{\n\t${0:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "else\n{\n\t${0:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"el": true
},
"options": {}
},
{
"content": "if (${1})\n\t${0:${VISUAL}}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ifs": true
},
"options": {}
},
{
"content": "${1} ? ${2} : ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"t": true
},
"options": {}
},
{
"content": "${1} ? ${2} : ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"?": true
},
"options": {}
},
{
"content": "do\n{\n\t${0:${VISUAL}}\n} while (${1:true});",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"do": true
},
"options": {}
},
{
"content": "while (${1:true})\n{\n\t${0:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"wh": true
},
"options": {}
},
{
"content": "for (int ${1:i} = 0; $1 < ${2:count}; $1${3:++})\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"for": true
},
"options": {}
},
{
"content": "for (int ${1:i} = ${2:length}; $1 >= 0; $1--)\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"forr": true
},
"options": {}
},
{
"content": "foreach (${1:var} ${2:entry} in ${3})\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fore": true
},
"options": {}
},
{
"content": "foreach (${1:var} ${2:entry} in ${3})\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"foreach": true
},
"options": {}
},
{
"content": "foreach (${1:var} ${2:entry} in ${3})\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"each": true
},
"options": {}
},
{
"content": "${1:public} ${2:int} ${3} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"prop": true
},
"options": {}
},
{
"content": "${1:public} ${2:int} ${3} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p": true
},
"options": {}
},
{
"content": "public ${1:int} ${2} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p+": true
},
"options": {}
},
{
"content": "public ${1:int} ${2} { get; internal set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p+&": true
},
"options": {}
},
{
"content": "public ${1:int} ${2} { get; protected set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p+|": true
},
"options": {}
},
{
"content": "public ${1:int} ${2} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p+-": true
},
"options": {}
},
{
"content": "internal ${1:int} ${2} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p&": true
},
"options": {}
},
{
"content": "internal ${1:int} ${2} { get; protected set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p&|": true
},
"options": {}
},
{
"content": "internal ${1:int} ${2} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p&-": true
},
"options": {}
},
{
"content": "protected ${1:int} ${2} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p|": true
},
"options": {}
},
{
"content": "protected ${1:int} ${2} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p|-": true
},
"options": {}
},
{
"content": "private ${1:int} ${2} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p-": true
},
"options": {}
},
{
"content": "${1:public} int ${2} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi": true
},
"options": {}
},
{
"content": "public int ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi+": true
},
"options": {}
},
{
"content": "public int ${1} { get; internal set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi+&": true
},
"options": {}
},
{
"content": "public int ${1} { get; protected set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi+|": true
},
"options": {}
},
{
"content": "public int ${1} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi+-": true
},
"options": {}
},
{
"content": "internal int ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi&": true
},
"options": {}
},
{
"content": "internal int ${1} { get; protected set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi&|": true
},
"options": {}
},
{
"content": "internal int ${1} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi&-": true
},
"options": {}
},
{
"content": "protected int ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi|": true
},
"options": {}
},
{
"content": "protected int ${1} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi|-": true
},
"options": {}
},
{
"content": "private int ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pi-": true
},
"options": {}
},
{
"content": "${1:public} bool ${2} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb": true
},
"options": {}
},
{
"content": "public bool ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb+": true
},
"options": {}
},
{
"content": "public bool ${1} { get; internal set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb+&": true
},
"options": {}
},
{
"content": "public bool ${1} { get; protected set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb+|": true
},
"options": {}
},
{
"content": "public bool ${1} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb+-": true
},
"options": {}
},
{
"content": "internal bool ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb&": true
},
"options": {}
},
{
"content": "internal bool ${1} { get; protected set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb&|": true
},
"options": {}
},
{
"content": "internal bool ${1} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb&-": true
},
"options": {}
},
{
"content": "protected bool ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb|": true
},
"options": {}
},
{
"content": "protected bool ${1} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb|-": true
},
"options": {}
},
{
"content": "private bool ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pb-": true
},
"options": {}
},
{
"content": "${1:public} string ${2} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps": true
},
"options": {}
},
{
"content": "public string ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps+": true
},
"options": {}
},
{
"content": "public string ${1} { get; internal set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps+&": true
},
"options": {}
},
{
"content": "public string ${1} { get; protected set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps+|": true
},
"options": {}
},
{
"content": "public string ${1} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps+-": true
},
"options": {}
},
{
"content": "internal string ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps&": true
},
"options": {}
},
{
"content": "internal string ${1} { get; protected set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps&|": true
},
"options": {}
},
{
"content": "internal string ${1} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps&-": true
},
"options": {}
},
{
"content": "protected string ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps|": true
},
"options": {}
},
{
"content": "protected string ${1} { get; private set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps|-": true
},
"options": {}
},
{
"content": "private string ${1} { get; set; }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ps-": true
},
"options": {}
},
{
"content": "${1:public} ${2:void} ${3}(${4})\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"m": true
},
"options": {}
},
{
"content": "public ${1:void} ${2}(${3})\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"m+": true
},
"options": {}
},
{
"content": "internal ${1:void} ${2}(${3})\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"m&": true
},
"options": {}
},
{
"content": "protected ${1:void} ${2}(${3})\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"m|": true
},
"options": {}
},
{
"content": "private ${1:void} ${2}(${3})\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"m-": true
},
"options": {}
},
{
"content": "${1:public} int ${2}(${3})\n{\n\t${0:return 0;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mi": true
},
"options": {}
},
{
"content": "public int ${1}(${2})\n{\n\t${0:return 0;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mi+": true
},
"options": {}
},
{
"content": "internal int ${1}(${2})\n{\n\t${0:return 0;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mi&": true
},
"options": {}
},
{
"content": "protected int ${1}(${2})\n{\n\t${0:return 0;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mi|": true
},
"options": {}
},
{
"content": "private int ${1}(${2})\n{\n\t${0:return 0;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mi-": true
},
"options": {}
},
{
"content": "${1:public} bool ${2}(${3})\n{\n\t${0:return false;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mb": true
},
"options": {}
},
{
"content": "public bool ${1}(${2})\n{\n\t${0:return false;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mb+": true
},
"options": {}
},
{
"content": "internal bool ${1}(${2})\n{\n\t${0:return false;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mb&": true
},
"options": {}
},
{
"content": "protected bool ${1}(${2})\n{\n\t${0:return false;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mb|": true
},
"options": {}
},
{
"content": "private bool ${1}(${2})\n{\n\t${0:return false;}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mb-": true
},
"options": {}
},
{
"content": "${1:public} string ${2}(${3})\n{\n\t${0:return \"\";}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ms": true
},
"options": {}
},
{
"content": "public string ${1}(${2})\n{\n\t${0:return \"\";}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ms+": true
},
"options": {}
},
{
"content": "internal string ${1}(${2})\n{\n\t${0:return \"\";}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ms&": true
},
"options": {}
},
{
"content": "protected string ${1:}(${2:})\n{\n\t${0:return \"\";}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ms|": true
},
"options": {}
},
{
"content": "private string ${1}(${2})\n{\n\t${0:return \"\";}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ms-": true
},
"options": {}
},
{
"content": "enum ${1}\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"enum": true
},
"options": {}
},
{
"content": "public enum ${1}\n{\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"enum+": true
},
"options": {}
},
{
"content": "#if\n\t${0}\n#endif",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"#if": true
},
"options": {}
},
{
"content": "/// \n/// ${0}\n/// ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"///": true
},
"options": {}
},
{
"content": "${2:$1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"${2}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"${1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"${1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"${1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
">>(${3});${0}",
"doc": "",
"grammar": "snu",
"label": "Kernel call",
"matches": {
"call": true
},
"options": {}
},
{
"content": "__syncthreads();",
"doc": "",
"grammar": "snu",
"label": "Synchonize threads",
"matches": {
"sync": true
},
"options": {}
},
{
"content": "threadIdx.${0}",
"doc": "",
"grammar": "snu",
"label": "Thread Index",
"matches": {
"tid": true
},
"options": {}
},
{
"content": "blockIdx.${0}",
"doc": "",
"grammar": "snu",
"label": "Block Index",
"matches": {
"bid": true
},
"options": {}
},
{
"content": "blockDim.${0}",
"doc": "",
"grammar": "snu",
"label": "Block Dimension",
"matches": {
"bdim": true
},
"options": {}
},
{
"content": "int ${1:index} = threadIdx.${2:x} + blockIdx.$2 * blockDim.$2;",
"doc": "",
"grammar": "snu",
"label": "Get current index (1D)",
"matches": {
"ii": true
},
"options": {}
},
{
"content": "int ${1:x} = threadIdx.x + blockIdx.x * blockDim.x;",
"doc": "",
"grammar": "snu",
"label": "Get current X index (1D)",
"matches": {
"ix": true
},
"options": {}
},
{
"content": "int ${1:y} = threadIdx.y + blockIdx.y * blockDim.y;",
"doc": "",
"grammar": "snu",
"label": "Get current Y index (1D)",
"matches": {
"iy": true
},
"options": {}
},
{
"content": "int ${1:z} = threadIdx.z + blockIdx.z * blockDim.z;",
"doc": "",
"grammar": "snu",
"label": "Get current Z index (1D)",
"matches": {
"iz": true
},
"options": {}
},
{
"content": "int ${1:x} = threadIdx.x + blockIdx.x * blockDim.x;\nint ${2:y} = threadIdx.y + blockIdx.y * blockDim.y;",
"doc": "",
"grammar": "snu",
"label": "Get current X,Y index (2D)",
"matches": {
"ixy": true
},
"options": {}
},
{
"content": "int ${1:x} = threadIdx.x + blockIdx.x * blockDim.x;\nint ${3:z} = threadIdx.z + blockIdx.z * blockDim.z;",
"doc": "",
"grammar": "snu",
"label": "Get current X,Z index (2D)",
"matches": {
"ixz": true
},
"options": {}
},
{
"content": "int ${2:y} = threadIdx.y + blockIdx.y * blockDim.y;\nint ${3:z} = threadIdx.z + blockIdx.z * blockDim.z;",
"doc": "",
"grammar": "snu",
"label": "Get current Y,Z index (2D)",
"matches": {
"iyz": true
},
"options": {}
},
{
"content": "int ${1:x} = threadIdx.x + blockIdx.x * blockDim.x;\nint ${2:y} = threadIdx.y + blockIdx.y * blockDim.y;\nint ${3:z} = threadIdx.z + blockIdx.z * blockDim.z;",
"doc": "",
"grammar": "snu",
"label": "Get current X,Y,Z index (3D)",
"matches": {
"ixyz": true
},
"options": {}
},
{
"content": "__shared__ ${1:int} ${2:memo}[${3:SIZE}];${0}",
"doc": "",
"grammar": "snu",
"label": "Shared memory declaration",
"matches": {
"share": true
},
"options": {}
}
],
"d": [
{
"content": "import ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"imp": true
},
"options": {}
},
{
"content": "public import",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pimp": true
},
"options": {}
},
{
"content": "std.stdio",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"io": true
},
"options": {}
},
{
"content": "std.traits",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"traits": true
},
"options": {}
},
{
"content": "std.conv",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"conv": true
},
"options": {}
},
{
"content": "std.array",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"arr": true
},
"options": {}
},
{
"content": "std.algorithm",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"algo": true
},
"options": {}
},
{
"content": "import std.stdio, std.string, std.array;\nimport std.traits, std.conv, std.algorithm;\nimport std.math, std.regex;",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"theusual": true
},
"options": {}
},
{
"content": "for(int ${1:i} = 0; $1 < ${2:count}; $1++) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"for": true
},
"options": {}
},
{
"content": "foreach(${1:elem}; ${2:range}) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fe": true
},
"options": {}
},
{
"content": "foreach(${1:i}, ${2:elem}; ${3:range}) {\n\t${0}\t\n} ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fei": true
},
"options": {}
},
{
"content": "foreach_reverse(${1:elem}; ${2:range}) {\n\t${0}\t\n} ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fer": true
},
"options": {}
},
{
"content": "foreach_reverse(${1:i}, ${2:elem}; ${3:range}) {\n\t${0} \n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"feri": true
},
"options": {}
},
{
"content": "scope(exit) ${1:f.close();}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sce": true
},
"options": {}
},
{
"content": "scope(success) ${1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"scs": true
},
"options": {}
},
{
"content": "scope(failure) ${1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"scf": true
},
"options": {}
},
{
"content": "else {\n\t${1}\t\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"el": true
},
"options": {}
},
{
"content": "else if(${1}) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"eif": true
},
"options": {}
},
{
"content": "if(${1}) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "if(${1}) {\n\t${2}\t\n} else {\n\t${3}\t\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "if(${1}) {\n\t${2}\t\n} else if(${3}) {\n\t${4}\n} else {\n\t${5}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ifee": true
},
"options": {}
},
{
"content": "switch(${1}) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sw": true
},
"options": {}
},
{
"content": "case ${1:0}:\n\t${2}\n\tbreak;",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cs": true
},
"options": {}
},
{
"content": "default:\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"def": true
},
"options": {}
},
{
"content": "final switch(${1}) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fsw": true
},
"options": {}
},
{
"content": "try {\n\t${1:${VISUAL}}\n} catch(${2:Exception} ${3:e}) {\n\t${4}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"try": true
},
"options": {}
},
{
"content": "try {\n\t${0:${VISUAL}}\n} catch(${1:Exception} ${2:e}) {\n\t${3}\n} finally {\n\t${4}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tcf": true
},
"options": {}
},
{
"content": "while(${1:cond}) {\n\t${0:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"wh": true
},
"options": {}
},
{
"content": "do {\n\t${1}\n} while(${2});",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dowh": true
},
"options": {}
},
{
"content": "static if(${1:cond}) {\n\t${2}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sif": true
},
"options": {}
},
{
"content": "static if(${1}) {\n\t${2}\n} else {\n\t${3}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sife": true
},
"options": {}
},
{
"content": "static if(${1}) {\n\t${2}\n} else static if(${3}) {\n\t${4}\n} else {\n\t${5}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sifee": true
},
"options": {}
},
{
"content": "else static if(${1}) {\n\t${2}\n} ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"seif": true
},
"options": {}
},
{
"content": "(${1: a > b}) ? ${2:a} : ${3:b}; ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"?": true
},
"options": {}
},
{
"content": "with(${1:exp}) {\n\t${2}\n} ${0}\t",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"with": true
},
"options": {}
},
{
"content": "${1:auto} ${2:func}(${3:params}) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fun": true
},
"options": {}
},
{
"content": "in {\n\t${1}\n} out {\n\t${2}\n} body {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"contr": true
},
"options": {}
},
{
"content": "(${1:x}) => ${2:x}${0:;}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"l": true
},
"options": {}
},
{
"content": "function (${1:int x}) => ${2}${3:;}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"funl": true
},
"options": {}
},
{
"content": "delegate (${1:int x}) => ${2}${3:;} ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"del": true
},
"options": {}
},
{
"content": "int opApply(Dg)(Dg dg) if(ParameterTypeTuble!Dg.length == 2) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"opApply": true
},
"options": {}
},
{
"content": "pure @safe nothrow",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"psn": true
},
"options": {}
},
{
"content": "@safe",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"safe": true
},
"options": {}
},
{
"content": "@trusted",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"trusted": true
},
"options": {}
},
{
"content": "@system",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"system": true
},
"options": {}
},
{
"content": "enum ${1} {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"enum": true
},
"options": {}
},
{
"content": "public",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pu": true
},
"options": {}
},
{
"content": "private",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pr": true
},
"options": {}
},
{
"content": "protected",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"po": true
},
"options": {}
},
{
"content": "this(${1}) {\n\t${0}\n} ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ctor": true
},
"options": {}
},
{
"content": "~this(${1}) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dtor": true
},
"options": {}
},
{
"content": "alias ${1:b} = ${2:a};\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"al": true
},
"options": {}
},
{
"content": "alias ${1:value} this;\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"alth": true
},
"options": {}
},
{
"content": "void main() {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"main": true
},
"options": {}
},
{
"content": "void main(string[] args) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"maina": true
},
"options": {}
},
{
"content": "module ${1:main};${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mod": true
},
"options": {}
},
{
"content": "${1:auto} ${2:var} = ${0:1};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"var": true
},
"options": {}
},
{
"content": "${1:auto} ${2:var} = new ${3:Object}(${4});\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"new": true
},
"options": {}
},
{
"content": "auto ${1:f} = File(${2:\"useful_info.xml\"}, ${3:\"rw\"});\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"file": true
},
"options": {}
},
{
"content": "map!(${1:f})(${2:xs});\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"map": true
},
"options": {}
},
{
"content": "filter!(${1:p})(${2:xs});\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"filter": true
},
"options": {}
},
{
"content": "reduce!(${1:f})(${2:xs});\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"reduce": true
},
"options": {}
},
{
"content": "find!(${1:p})($2:xs);\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"find": true
},
"options": {}
},
{
"content": "${1:int}[${2:string}] ${3:dict} = ${0};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"aa": true
},
"options": {}
},
{
"content": "#!/usr/bin/env rdmd",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"#!": true
},
"options": {}
},
{
"content": "#!/usr/bin/env rdmd",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"bang": true
},
"options": {}
},
{
"content": "#!/usr/bin/env rdmd",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rdmd": true
},
"options": {}
},
{
"content": "isSomeString!${1:S}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"isstr": true
},
"options": {}
},
{
"content": "isNumeric!${1:N}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"isnum": true
},
"options": {}
},
{
"content": "to!string(${1:x});\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tos": true
},
"options": {}
},
{
"content": "to!int(${1:str});\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"toi": true
},
"options": {}
},
{
"content": "to!double(${1:str});\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tod": true
},
"options": {}
},
{
"content": "unittest {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"un": true
},
"options": {}
},
{
"content": "version(${1:Posix}) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ver": true
},
"options": {}
},
{
"content": "debug {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"de": true
},
"options": {}
},
{
"content": "shared static this(${1}) {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sst": true
},
"options": {}
},
{
"content": "// Typedef is deprecated. Use alias instead.\ntypedef",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"td": true
},
"options": {}
},
{
"content": "inout",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ino": true
},
"options": {}
},
{
"content": "immutable",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"imm": true
},
"options": {}
},
{
"content": "final",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fin": true
},
"options": {}
},
{
"content": "const",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"con": true
},
"options": {}
},
{
"content": "private static immutable ${1:int} ${2:Constant} = ${3:1};\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"psi": true
},
"options": {}
},
{
"content": "pragma(${1})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"prag": true
},
"options": {}
},
{
"content": "pragma(msg, ${1:Warning});",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pms": true
},
"options": {}
},
{
"content": "asm {\n\t${1}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"asm": true
},
"options": {}
},
{
"content": "override",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"over": true
},
"options": {}
},
{
"content": "return ${1};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ret": true
},
"options": {}
},
{
"content": "__FILE__",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"FILE": true
},
"options": {}
},
{
"content": "__MODULE__",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"MOD": true
},
"options": {}
},
{
"content": "__LINE__",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"LINE": true
},
"options": {}
},
{
"content": "__FUNCTION__",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"FUN": true
},
"options": {}
},
{
"content": "__PRETTY_FUNCTION__",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"PF": true
},
"options": {}
},
{
"content": "cast(${1:T})(${2:val});",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cast": true
},
"options": {}
},
{
"content": "/*\n * ${1}\n*/",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"/*": true
},
"options": {}
},
{
"content": "// I don't know how this works. Don't touch it.",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"idk": true
},
"options": {}
},
{
"content": "// Don't FUCKING touch this.",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"idfk": true
},
"options": {}
}
],
"dart": [
{
"content": "library ${1};\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lib": true
},
"options": {}
},
{
"content": "import 'package:${1}/${2}.dart';\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"im": true
},
"options": {}
},
{
"content": "new RegExp(r'${1}')",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rgx": true
},
"options": {}
},
{
"content": "var ${1} = ${2};",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"var": true
},
"options": {}
},
{
"content": "main() {\n ${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"main": true
},
"options": {}
},
{
"content": "static ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"st": true
},
"options": {}
},
{
"content": "final ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fi": true
},
"options": {}
},
{
"content": "return ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"re": true
},
"options": {}
},
{
"content": "break;",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"br": true
},
"options": {}
},
{
"content": "throw ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"th": true
},
"options": {}
},
{
"content": "implements ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"imp": true
},
"options": {}
},
{
"content": "extends ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ext": true
},
"options": {}
},
{
"content": "if (${1:true}) {\n ${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "if (${1:true}) {\n ${2}\n} else {\n ${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "else",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"el": true
},
"options": {}
},
{
"content": "switch (${1}) {\n ${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sw": true
},
"options": {}
},
{
"content": "case ${1}:\n ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cs": true
},
"options": {}
},
{
"content": "default:\n ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"de": true
},
"options": {}
},
{
"content": "for (var ${2:i} = 0, len = ${1:things}.length; $2 < len; ${3:++}$2) {\n ${0:$1[$2]}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"for": true
},
"options": {}
},
{
"content": "for (final ${2:item} in ${1:itemList}) {\n ${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fore": true
},
"options": {}
},
{
"content": "while (${1:/* condition */}) {\n ${0}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"wh": true
},
"options": {}
},
{
"content": "do {\n ${0}\n} while (${0:/* condition */});",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dowh": true
},
"options": {}
},
{
"content": "assert(${0:/* condition */});",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"as": true
},
"options": {}
},
{
"content": "try {\n ${0:${VISUAL}}\n} catch (${1:Exception e}) {\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"try": true
},
"options": {}
},
{
"content": "try {\n ${0:${VISUAL}}\n} catch (${1:Exception e}) {\n} finally {\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tryf": true
},
"options": {}
}
],
"dart-flutter": [
{
"content": "class $1 extends StatelessWidget {\n\t@override\n\tWidget build(BuildContext context) {\n\t\treturn Container(\n\t\t\t$2\n\t\t);\n\t}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"stless": true
},
"options": {}
},
{
"content": "class $1 extends StatefulWidget {\n\t@override\n\t_$1State createState() => _$1State();\n}\nclass _$1State extends State<$1> {\n\t@override\n\tWidget build(BuildContext context) {\n\t\treturn Container(\n\t\t\t$2\n\t\t);\n\t}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"stful": true
},
"options": {}
},
{
"content": "class $1 extends StatefulWidget {\n\t@override\n\t_$1State createState() => _$1State();\n}\nclass _$1State extends State<$1>\n\t\twith SingleTickerProviderStateMixin {\n\tAnimationController _controller;\n\t@override\n\tvoid initState() {\n\t\tsuper.initState();\n\t\t_controller = AnimationController(vsync: this);\n\t}\n\t@override\n\tvoid dispose() {\n\t\tsuper.dispose();\n\t\t_controller.dispose();\n\t}\n\t@override\n\tWidget build(BuildContext context) {\n\t\treturn Container(\n\t\t\t$2\n\t\t);\n\t}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"stanim": true
},
"options": {}
}
],
"diff": [],
"django": [
{
"content": "${1:FIELDNAME} = models.AutoField(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"auto": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.BigIntegerField(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"bigint": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.BinaryField(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"binary": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.BooleanField(${0:default=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"bool": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.CharField(max_length=${2}${0:, blank=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"char": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.CommaSeparatedIntegerField(max_length=${2}${0:, blank=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"comma": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.DateField(${2:auto_now_add=True, auto_now=True}${0:, blank=True, null=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"date": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.DateTimeField(${2:auto_now_add=True, auto_now=True}${0:, blank=True, null=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"datetime": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.DecimalField(max_digits=${2}, decimal_places=${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"decimal": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.EmailField(max_length=${2:75}${0:, blank=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"email": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.FileField(upload_to=${2:path/for/upload}${0:, max_length=100})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"file": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.FilePathField(path=${2:\"/abs/path/to/dir\"}${3:, max_length=100}${4:, match=\"*.ext\"}${5:, recursive=True}${0:, blank=True, })",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"filepath": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.FloatField(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"float": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.ImageField(upload_to=${2:path/for/upload}${3:, height_field=height, width_field=width}${0:, max_length=100})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"image": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.IntegerField(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"int": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.IPAddressField(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ip": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.NullBooleanField(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"nullbool": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.PositiveIntegerField(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"posint": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.PositiveSmallIntegerField(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"possmallint": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.SlugField(max_length=${2:50}${0:, blank=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"slug": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.SmallIntegerField(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"smallint": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.TextField(${0:blank=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"text": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.TimeField(${2:auto_now_add=True, auto_now=True}${0:, blank=True, null=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"time": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.URLField(${2:verify_exists=False}${3:, max_length=200}${0:, blank=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"url": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.XMLField(schema_path=${2:None}${0:, blank=True})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"xml": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.ForeignKey(${2:OtherModel}${3:, related_name=''}${4:, limit_choices_to=}${0:, to_field=''})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fk": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.ManyToManyField(${2:OtherModel}${3:, related_name=''}${4:, limit_choices_to=}${5:, symmetrical=False}${6:, through=''}${0:, db_table=''})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"m2m": true
},
"options": {}
},
{
"content": "${1:FIELDNAME} = models.OneToOneField(${2:OtherModel}${3:, parent_link=True}${4:, related_name=''}${5:, limit_choices_to=}${0:, to_field=''})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"o2o": true
},
"options": {}
},
{
"content": "class ${1:FormName}(forms.Form):\n\t\"\"\"${2:docstring}\"\"\"\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"form": true
},
"options": {}
},
{
"content": "class ${1:ModelName}(models.Model):\n\t\"\"\"${2:docstring}\"\"\"\n\t${3}\n\tclass Meta:\n\t\t${4}\n\tdef __unicode__(self):\n\t\t${5}\n\tdef save(self, *args, **kwargs):\n\t\t${6}\n\t@models.permalink\n\tdef get_absolute_url(self):\n\t\treturn ('${7:view_or_url_name}' ${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"model": true
},
"options": {}
},
{
"content": "class ${1:ModelName}Admin(admin.ModelAdmin):\n\t${0}\nadmin.site.register($1, $1Admin)",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"modeladmin": true
},
"options": {}
},
{
"content": "class ${0:ModelName}Inline(admin.TabularInline):\n\tmodel = $1",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tabularinline": true
},
"options": {}
},
{
"content": "class ${0:ModelName}Inline(admin.StackedInline):\n\tmodel = $1",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"stackedinline": true
},
"options": {}
},
{
"content": "return render_to_response('${1:template.html}', {\n\t\t${2}\n\t}${0:, context_instance=RequestContext(request)}\n)",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"r2r": true
},
"options": {}
}
],
"dosini": [
{
"content": "; http://editorconfig.org\nroot = true\n[*]\nindent_style = ${1:space_or_tab}\nindent_size = ${2:indent_size}\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ec": true
},
"options": {}
}
],
"eelixir": [
{
"content": "<% ${0} %>",
"doc": "",
"grammar": "snu",
"label": "<% %>",
"matches": {
"%": true
},
"options": {}
},
{
"content": "<%= ${0} %>",
"doc": "",
"grammar": "snu",
"label": "<%= %>",
"matches": {
"=": true
},
"options": {}
},
{
"content": "<%# ${0} %>",
"doc": "",
"grammar": "snu",
"label": "<%# %>",
"matches": {
"#": true
},
"options": {}
},
{
"content": "<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"end": true
},
"options": {}
},
{
"content": "<%= for ${1:item} <- ${2:items} ${3:@conn} do %>\n\t${0}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"for": true
},
"options": {}
},
{
"content": "<%= if ${1} do %>\n\t${0:${VISUAL}}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "<%= if ${1} do %>\n\t${2:${VISUAL}}\n<% else %>\n\t${0}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "<%= cond do %>\n\t<% ${1} -> %>\n\t\t${2:${VISUAL}}\n\t<% true -> %>\n\t\t${0}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cond": true
},
"options": {}
},
{
"content": "<%= unless ${1} do %>\n\t${0:${VISUAL}}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"unless": true
},
"options": {}
},
{
"content": "<%= form_tag(${1:\"/users\"}, method: ${2::post}) %>\n\t${0}\n",
"doc": "",
"grammar": "snu",
"label": "form_tag",
"matches": {
"ft": true
},
"options": {}
},
{
"content": "<%= select ${1:f}, :${2:field}, ${3:[{\"key\", \"value\"}]}, prompt: ${4:\"Prompt\"} %>",
"doc": "",
"grammar": "snu",
"label": "select",
"matches": {
"sl": true
},
"options": {}
},
{
"content": "<%= submit ${1:\"Submit\"} %>",
"doc": "",
"grammar": "snu",
"label": "submit",
"matches": {
"sb": true
},
"options": {}
},
{
"content": "<%= radio_button ${1:f}, :${2:field}, ${3:\"value\"} %>",
"doc": "",
"grammar": "snu",
"label": "radio_button",
"matches": {
"rb": true
},
"options": {}
},
{
"content": "<%= error_tag ${1:f}, :${2:field} %>",
"doc": "",
"grammar": "snu",
"label": "error_tag",
"matches": {
"et": true
},
"options": {}
},
{
"content": "<%= text_input ${1:f}, :${2:field} %>",
"doc": "",
"grammar": "snu",
"label": "text_input",
"matches": {
"ti": true
},
"options": {}
},
{
"content": "<%= label ${1:f}, :${2:field}, \"${3:Label}\" %>",
"doc": "",
"grammar": "snu",
"label": "label",
"matches": {
"la": true
},
"options": {}
},
{
"content": "<%= password_input ${1:f}, :${2:password} %>",
"doc": "",
"grammar": "snu",
"label": "password_input",
"matches": {
"pi": true
},
"options": {}
},
{
"content": "<%= render \"${1:index}.html\", ${2:var: @var} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"render": true
},
"options": {}
},
{
"content": "<%= link \"${1:Submit}\", to: ${2:\"/users\"}, method: ${3::delete} %>",
"doc": "",
"grammar": "snu",
"label": "link",
"matches": {
"lin": true
},
"options": {}
},
{
"content": "<%= form_for @changeset, ${1:\"/users\"}, fn f -> %>\n\t\t${0}\n\t<%= submit \"Submit\" %>\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "form_for",
"matches": {
"ff": true
},
"options": {}
},
{
"content": "<% require IEx; IEx.pry %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pry": true
},
"options": {}
}
],
"elixir": [
{
"content": "do\n\t${0:${VISUAL}}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"do": true
},
"options": {}
},
{
"content": "IO.puts \"${0}\"",
"doc": "",
"grammar": "snu",
"label": "IO.puts",
"matches": {
"put": true
},
"options": {}
},
{
"content": "IO.inspect ${0}",
"doc": "",
"grammar": "snu",
"label": "IO.inspect",
"matches": {
"ins": true
},
"options": {}
},
{
"content": "IO.inspect(${0}label: \"${1:label}\")",
"doc": "",
"grammar": "snu",
"label": "IO.inspect with label",
"matches": {
"insl": true
},
"options": {}
},
{
"content": "if ${1} do\n\t${0:${VISUAL}}\nend",
"doc": "",
"grammar": "snu",
"label": "if .. do .. end",
"matches": {
"if": true
},
"options": {}
},
{
"content": "if ${1:condition}, do: ${0}",
"doc": "",
"grammar": "snu",
"label": "if .. do: ..",
"matches": {
"if:": true
},
"options": {}
},
{
"content": "if ${1:condition} do\n\t${2:${VISUAL}}\nelse\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "if .. do .. else .. end",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "if ${1:condition}, do: ${2}, else: ${0}",
"doc": "",
"grammar": "snu",
"label": "if .. do: .. else:",
"matches": {
"ife:": true
},
"options": {}
},
{
"content": "unless ${1} do\n\t${0:${VISUAL}}\nend",
"doc": "",
"grammar": "snu",
"label": "unless .. do .. end",
"matches": {
"unless": true
},
"options": {}
},
{
"content": "unless ${1:condition}, do: ${0}",
"doc": "",
"grammar": "snu",
"label": "unless .. do: ..",
"matches": {
"unless:": true
},
"options": {}
},
{
"content": "unless ${1:condition} do\n\t${2:${VISUAL}}\nelse\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "unless .. do .. else .. end",
"matches": {
"unlesse": true
},
"options": {}
},
{
"content": "unless ${1:condition}, do: ${2}, else: ${0}",
"doc": "",
"grammar": "snu",
"label": "unless .. do: .. else:",
"matches": {
"unlesse:": true
},
"options": {}
},
{
"content": "cond do\n\t${1} ->\n\t${0:${VISUAL}}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cond": true
},
"options": {}
},
{
"content": "case ${1} do\n\t${2} ->\n\t\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"case": true
},
"options": {}
},
{
"content": "for ${1:item} <- ${2:items} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"for": true
},
"options": {}
},
{
"content": "for ${1:item} <- ${2:items}, do: ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"for:": true
},
"options": {}
},
{
"content": "for ${1:item} <- ${2:items}, into: ${3} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fori": true
},
"options": {}
},
{
"content": "with ${1:item} <- ${2:items} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"wi": true
},
"options": {}
},
{
"content": "with(\n\t${1:item} <- ${2:items}\n) do\n\t${3}\nelse\n\t${4} ->\n\t\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"wie": true
},
"options": {}
},
{
"content": "@spec ${1:name}(${2:args}) :: ${3:returns}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sp": true
},
"options": {}
},
{
"content": "@opaque ${1:type_name} :: ${2:type}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"op": true
},
"options": {}
},
{
"content": "@type ${1:type_name} :: ${2:type}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ty": true
},
"options": {}
},
{
"content": "@typep ${1:type_name} :: ${2:type}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"typ": true
},
"options": {}
},
{
"content": "@callback ${1:name}(${2:args}) :: ${3:returns}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cb": true
},
"options": {}
},
{
"content": "def ${1:name}, do: ${2}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"df": true
},
"options": {}
},
{
"content": "def ${1:name}(${2:args}) when ${3:guard}, do:",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dfw": true
},
"options": {}
},
{
"content": "def ${1:name} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"def": true
},
"options": {}
},
{
"content": "@doc \"\"\"\n${1:doc string}\n\"\"\"\ndef ${2:name} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defd": true
},
"options": {}
},
{
"content": "@spec ${1:name}(${2:arg types}) :: ${3:no_return}\ndef $1(${4:args}) do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defs": true
},
"options": {}
},
{
"content": "@doc \"\"\"\n${1:doc string}\n\"\"\"\n@spec ${2:name}(${3:arg types}) :: ${4:no_return}\ndef $2(${5:args}) do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defsd": true
},
"options": {}
},
{
"content": "def ${1:name}(${2:args}) when ${3:guard} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defw": true
},
"options": {}
},
{
"content": "defimpl ${1:protocol_name}, for: ${2:data_type} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defim": true
},
"options": {}
},
{
"content": "defmacro ${1:name} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defma": true
},
"options": {}
},
{
"content": "%__MODULE__{\n\t${1:key_name}: ${2:value}\n}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"%M": true
},
"options": {}
},
{
"content": "@enforce_keys [:${1:key_name}]",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"enfk": true
},
"options": {}
},
{
"content": "defp ${1:name}, do: ${2}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dfp": true
},
"options": {}
},
{
"content": "defp ${1:name}(${2:args}) when ${3:guard}, do: ${4}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dfpw": true
},
"options": {}
},
{
"content": "defp ${1:name} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defp": true
},
"options": {}
},
{
"content": "defp ${1:name}(${2:args}) when ${3:guard} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defpw": true
},
"options": {}
},
{
"content": "defprotocol ${1:name}, [${0:function}]",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defpr": true
},
"options": {}
},
{
"content": "defrecord ${1:record_name}, ${0:fields}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"defr": true
},
"options": {}
},
{
"content": "@doc \"\"\"\n${0}\n\"\"\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"doc": true
},
"options": {}
},
{
"content": "@doc ~S\"\"\"\n${0}\n\"\"\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"docs": true
},
"options": {}
},
{
"content": "@doc false",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"docf": true
},
"options": {}
},
{
"content": "@impl true",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"im": true
},
"options": {}
},
{
"content": "fn ${1:args} -> ${0} end",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn": true
},
"options": {}
},
{
"content": "@moduledoc \"\"\"\n${0}\n\"\"\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mdoc": true
},
"options": {}
},
{
"content": "@moduledoc ~S\"\"\"\n${0}\n\"\"\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mdocs": true
},
"options": {}
},
{
"content": "@moduledoc false",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mdocf": true
},
"options": {}
},
{
"content": "receive do\n\t${1} ->\n\t\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rec": true
},
"options": {}
},
{
"content": "require ${0:Logger}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"req": true
},
"options": {}
},
{
"content": "import ${0:module_name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"imp": true
},
"options": {}
},
{
"content": "alias ${0:module_name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ali": true
},
"options": {}
},
{
"content": "test \"${1:test name}\" do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"test": true
},
"options": {}
},
{
"content": "test \"${1:test_name}\", ctx do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"testc": true
},
"options": {}
},
{
"content": "test \"${1:test_name}\", %{${2:arg: arg}} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"testa": true
},
"options": {}
},
{
"content": "describe \"${1:test group subject}\" do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"des": true
},
"options": {}
},
{
"content": "@describetag :${1:describe tag}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"destag": true
},
"options": {}
},
{
"content": "@moduletag :${1:module tag}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mtag": true
},
"options": {}
},
{
"content": "doctest ${1:filename}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dt": true
},
"options": {}
},
{
"content": "@tag :pending",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tp": true
},
"options": {}
},
{
"content": "setup do\n\t${1}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"setup": true
},
"options": {}
},
{
"content": "setup_all do\n\t${1}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"setupa": true
},
"options": {}
},
{
"content": "try do\n\t${1:${VISUAL}}\nrescue\n\t${2} -> ${0}\nend",
"doc": "",
"grammar": "snu",
"label": "try .. rescue .. end",
"matches": {
"try": true
},
"options": {}
},
{
"content": "require IEx; IEx.pry\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pry": true
},
"options": {}
},
{
"content": "|> (fn x -> require IEx; IEx.pry; x end).()${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ppry": true
},
"options": {}
},
{
"content": "quote do\n\t${1}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"qu": true
},
"options": {}
},
{
"content": "@behaviour ${1:Mix.Task}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"beh": true
},
"options": {}
},
{
"content": "|> ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p": true
},
"options": {}
},
{
"content": "|> Enum.each(fn ${1} -> ${0} end)",
"doc": "",
"grammar": "snu",
"label": "pipe to each",
"matches": {
">e": true
},
"options": {}
},
{
"content": "|> Enum.map(fn ${1} -> ${0} end)",
"doc": "",
"grammar": "snu",
"label": "pipe to map",
"matches": {
">m": true
},
"options": {}
},
{
"content": "|> Enum.filter(fn ${1} -> ${0} end)",
"doc": "",
"grammar": "snu",
"label": "pipe to filter",
"matches": {
">f": true
},
"options": {}
},
{
"content": "|> Enum.reduce(${1:acc}, fn ${2}, ${3:acc} -> ${0} end)",
"doc": "",
"grammar": "snu",
"label": "pipe to reduce",
"matches": {
">r": true
},
"options": {}
},
{
"content": "|> IO.inspect",
"doc": "",
"grammar": "snu",
"label": "pipe to inspect",
"matches": {
">i": true
},
"options": {}
},
{
"content": "|> IO.inspect(label: \"${1:label}\")",
"doc": "",
"grammar": "snu",
"label": "pipe to inspect with label",
"matches": {
">il": true
},
"options": {}
},
{
"content": "@doc false\ndef child_spec(${1:_opts}) do\n\t%{\n\t\tid: __MODULE__,\n\t\tstart: {__MODULE__, :start_link, ${2:[]}},\n\t\trestart: ${3::permanent},\n\t\tshutdown: ${4:5000},\n\t\ttype: ${5::worker}\n\t}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cs": true
},
"options": {}
},
{
"content": "use GenServer\n@doc false\ndef start_link do\n\tGenServer.start_link(__MODULE__, ${1:Map.new})\nend\n@impl true\ndef init(state) do\n\t{:ok, state}\nend",
"doc": "",
"grammar": "snu",
"label": "basic genserver structure",
"matches": {
"genserver": true
},
"options": {}
},
{
"content": "use GenServer\n@doc false\ndef start_link, do: GenServer.start_link(__MODULE__, ${1:Map.new})\n@impl true\ndef init(state), do: {:ok, state}",
"doc": "",
"grammar": "snu",
"label": "basic genserver structure",
"matches": {
"genserver:": true
},
"options": {}
},
{
"content": "@impl true\ndef ${1:name} do\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"impl": true
},
"options": {}
},
{
"content": "~w(${0})",
"doc": "",
"grammar": "snu",
"label": "word list",
"matches": {
"wl": true
},
"options": {}
},
{
"content": "~w(${0})a",
"doc": "",
"grammar": "snu",
"label": "atom list",
"matches": {
"al": true
},
"options": {}
}
],
"elm": [
{
"content": "import ${0:Http}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"imp": true
},
"options": {}
},
{
"content": "import ${1:Html} exposing (${0:..})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"impe": true
},
"options": {}
},
{
"content": "import ${1:Json.Encode} as ${2:Encode} exposing (${0:Value})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"impae": true
},
"options": {}
},
{
"content": "${1:fn} : ${2:a} -> ${3:a}\n$1 ${4} =\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn": true
},
"options": {}
},
{
"content": "${1:fn} : ${2:a} -> ${3:a}\n$1 ${4} =\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn1": true
},
"options": {}
},
{
"content": "${1:fn} : ${2:a} -> ${3:a} -> ${4:a}\n$1 ${5} =\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn2": true
},
"options": {}
},
{
"content": "${1:fn} : ${2:a} -> ${3:a} -> ${4:a} -> ${5:a}\n$1 ${6} =\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn3": true
},
"options": {}
},
{
"content": "${1:fn} : ${2:a}\n$1 =\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn0": true
},
"options": {}
},
{
"content": "case ${1} of\n\t${2} ->\n\t\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"case": true
},
"options": {}
},
{
"content": "${1} ->\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"-": true
},
"options": {}
},
{
"content": "let\n\t${1} =\n\t\t${2}\nin\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"let": true
},
"options": {}
},
{
"content": "if ${1} then\n\t${2:${VISUAL}}\nelse\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "type ${1:Msg}\n\t= ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ty": true
},
"options": {}
},
{
"content": "type alias ${1:Model} =\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tya": true
},
"options": {}
},
{
"content": "test \"${1}\" <| \\_ -> $0",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"test": true
},
"options": {}
},
{
"content": "describe \"${1}\" [ $0 ]",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"desc": true
},
"options": {}
},
{
"content": "{-| ${0}\n-}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"doc": true
},
"options": {}
},
{
"content": "|> ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p": true
},
"options": {}
},
{
"content": "import Html exposing (Html)\ntype alias Model =\n\t{}\ntype Msg\n\t= Noop\nmain : Program Never Model Msg\nmain =\n\tHtml.program\n\t\t{ init = init\n\t\t, view = view\n\t\t, update = update\n\t\t, subscriptions = subscriptions\n\t\t}\ninit : ( Model, Cmd Msg )\ninit =\n\t{} ! []\nupdate : Msg -> Model -> ( Model, Cmd Msg )\nupdate msg model =\n\tcase msg of\n\t\tNoop ->\n\t\t\tmodel ! []\nsubscriptions : Model -> Sub Msg\nsubscriptions model =\n\tSub.none\nview : Model -> Html Msg\nview model =\n\tHtml.text \"Hello, sailor!\"",
"doc": "",
"grammar": "snu",
"label": "Elm 0.18 program",
"matches": {
"program": true
},
"options": {}
},
{
"content": "module Main exposing (Model, Msg(..), init, main, subscriptions, update, view)\nimport Browser\nimport Html exposing (..)\nimport Json.Encode\nmain : Program Flags Model Msg\nmain =\n\tBrowser.element\n\t\t{ init = init\n\t\t, update = update\n\t\t, subscriptions = subscriptions\n\t\t, view = view\n\t\t}\ntype alias Model =\n\t{}\ntype alias Flags =\n\tJson.Encode.Value\ninit : Flags -> ( Model, Cmd Msg )\ninit flags_ =\n\t( {}\n\t, Cmd.none\n\t)\ntype Msg\n\t= Noop\nupdate : Msg -> Model -> ( Model, Cmd Msg )\nupdate msg model =\n\tcase msg of\n\t\tNoop ->\n\t\t\t( model\n\t\t\t, Cmd.none\n\t\t\t)\nsubscriptions : Model -> Sub Msg\nsubscriptions model =\n\tSub.none\nview : Model -> Html Msg\nview model =\n\th1 [] [ text \"Hello, world!\" ]",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"element": true
},
"options": {}
}
],
"erlang": [
{
"content": "erlang:display(${0}),",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"d": true
},
"options": {}
},
{
"content": "erlang:display({${1}, ${0}}),",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dt": true
},
"options": {}
},
{
"content": "-define(${1:macro}, ${2:body}).",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"def": true
},
"options": {}
},
{
"content": "-export([${1:function}/${0:arity}]).",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"exp": true
},
"options": {}
},
{
"content": "-include(\"${1:file}\").",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"inc": true
},
"options": {}
},
{
"content": "-include_lib(\"${1:lib}/include/${1}.hrl\").${2}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"incl": true
},
"options": {}
},
{
"content": "-behaviour(${1:behaviour}).",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"beh": true
},
"options": {}
},
{
"content": "-ifdef(${1:TEST}).\n${0}\n-endif.",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ifd": true
},
"options": {}
},
{
"content": "-ifndef(${1:TEST}).\n${0}\n-endif.",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ifnd": true
},
"options": {}
},
{
"content": "-undef(${1:macro}).",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"undef": true
},
"options": {}
},
{
"content": "if\n\t${1:guard} ->\n\t\t${0:body}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "case ${1:expression} of\n\t${2:pattern} ->\n\t\t${0:body};\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"case": true
},
"options": {}
},
{
"content": "fun (${1:Parameters}) -> ${2:body} end",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fun": true
},
"options": {}
},
{
"content": "try\n\t${1:${VISUAL}}\ncatch\n\t${2:_:_} -> ${0:got_some_exception}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"try": true
},
"options": {}
},
{
"content": "receive\n${1:\t${2:pattern}${3: when ${4:guard}} ->\n\t\t${5:body}}\n${6:after\n\t${7:expression} ->\n\t\t${8:body}}\nend",
"doc": "",
"grammar": "snu",
"label": "Receive Expression",
"matches": {
"rcv": true
},
"options": {}
},
{
"content": "-record(${1:record}, {${2:field}=${3:value}}).",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rec": true
},
"options": {}
},
{
"content": "%% TODO: ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"todo": true
},
"options": {}
},
{
"content": "%% @doc ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"%d": true
},
"options": {}
},
{
"content": "%% @end",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"%e": true
},
"options": {}
},
{
"content": "%% @spec ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"%s": true
},
"options": {}
},
{
"content": "%% @private",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"%p": true
},
"options": {}
},
{
"content": "-ifdef(TEST).\n-include_lib(\"eunit/include/eunit.hrl\").\n${0}\n-endif.",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ieunit": true
},
"options": {}
},
{
"content": "-ifdef(TEST).\n${1}_test() ->\n\t${0}\n-endif.",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"itest": true
},
"options": {}
},
{
"content": "${1}_test() ->\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"test": true
},
"options": {}
},
{
"content": "?assert(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"as": true
},
"options": {}
},
{
"content": "?assertNot(${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"asn": true
},
"options": {}
},
{
"content": "?assertEqual(${1}, ${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"aseq": true
},
"options": {}
},
{
"content": "?assertNotEqual(${1}, ${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"asneq": true
},
"options": {}
},
{
"content": "?assertMatch(${1:Pattern}, ${0:Expression})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"asmat": true
},
"options": {}
},
{
"content": "?assertNotMatch(${1:Pattern}, ${0:Expression})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"asnmat": true
},
"options": {}
},
{
"content": "?assertError(${1:Pattern}, ${0:Expression})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"aserr": true
},
"options": {}
},
{
"content": "?assertExit(${1:Pattern}, ${0:Expression})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"asex": true
},
"options": {}
},
{
"content": "?assertException(${1:Class}, ${2:Pattern}, ${0:Expression})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"asexc": true
},
"options": {}
}
],
"eruby": [
{
"content": "<% ${0} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rc": true
},
"options": {}
},
{
"content": "<%= ${1} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rce": true
},
"options": {}
},
{
"content": "<% ${0} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"%": true
},
"options": {}
},
{
"content": "<%= ${1} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"=": true
},
"options": {}
},
{
"content": "<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"end": true
},
"options": {}
},
{
"content": "<% ${1}.each do |${2}| %>\n\t${0}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ead": true
},
"options": {}
},
{
"content": "<% for ${2:item} in ${1} %>\n\t${0}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"for": true
},
"options": {}
},
{
"content": "<%= render partial: '${0:item}' %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rp": true
},
"options": {}
},
{
"content": "<%= render partial: '${1:item}', locals: { :${2:name} => '${3:value}'${0} } %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rpl": true
},
"options": {}
},
{
"content": "<%= render partial: '${1:item}', status: ${0:500} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rps": true
},
"options": {}
},
{
"content": "<%= render partial: '${1:item}', collection: ${0:items} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rpc": true
},
"options": {}
},
{
"content": "<%= link_to '${1:link text...}', action: '${0:index}' %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lia": true
},
"options": {}
},
{
"content": "<%= link_to '${1:link text...}', action: '${2:edit}', id: ${0:@item} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"liai": true
},
"options": {}
},
{
"content": "<%= link_to '${1:link text...}', controller: '${0:items}' %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lic": true
},
"options": {}
},
{
"content": "<%= link_to '${1:link text...}', controller: '${2:items}', action: '${0:index}' %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lica": true
},
"options": {}
},
{
"content": "<%= link_to '${1:link text...}', controller: '${2:items}', action: '${3:edit}', id: ${0:@item} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"licai": true
},
"options": {}
},
{
"content": "<%= yield ${1::content_symbol} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"yield": true
},
"options": {}
},
{
"content": "<% content_for :${1:head} do %>\n\t${0}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"conf": true
},
"options": {}
},
{
"content": "<%= collection_select(:${1:object}, :${2:method}, ${3:collection}, :${4:value_method}, :${5:text_method}, options = {${0:prompt: true}}) %> ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cs": true
},
"options": {}
},
{
"content": "<%= content_tag '${1:DIV}', ${2:content}${0:,options} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ct": true
},
"options": {}
},
{
"content": "<%= form_for @${1:model} do |f| %>\n\t${0}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ff": true
},
"options": {}
},
{
"content": "<%= ${1:f}.input :${0:attribute} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ffi": true
},
"options": {}
},
{
"content": "<%= ${1:f}.check_box :${0:attribute} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ffcb": true
},
"options": {}
},
{
"content": "<% error_messages_for :${1:model} %>\n<%= form_for @${2:model} do |f| %>\n\t${0}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ffe": true
},
"options": {}
},
{
"content": "<%= ${1:f}.file_field :${0:attribute} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ffff": true
},
"options": {}
},
{
"content": "<%= ${1:f}.hidden_field :${0:attribute} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ffhf": true
},
"options": {}
},
{
"content": "<%= ${1:f}.label :${2:attribute}, '${0:$2}' %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ffl": true
},
"options": {}
},
{
"content": "<%= ${1:f}.password_field :${0:attribute} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ffpf": true
},
"options": {}
},
{
"content": "<%= ${1:f}.radio_button :${2:attribute}, :${0:tag_value} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ffrb": true
},
"options": {}
},
{
"content": "<%= ${1:f}.submit \"${0:submit}\" %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ffs": true
},
"options": {}
},
{
"content": "<%= ${1:f}.text_area :${0:attribute} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ffta": true
},
"options": {}
},
{
"content": "<%= ${1:f}.text_field :${0:attribute} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fftf": true
},
"options": {}
},
{
"content": "<%= ${1:f}.collection_select(:${2:method}, ${3:collection}, :${4:value_method}, :${5:text_method}, options = {${0:prompt: true}}) %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fcs": true
},
"options": {}
},
{
"content": "<%= fields_for :${1:model}, @$1 do |${2:f}| %>\n\t${0}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fields": true
},
"options": {}
},
{
"content": "I18n.t('${1:type.key}')",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"i18": true
},
"options": {}
},
{
"content": "<%= image_tag \"${1}\"${0} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"it": true
},
"options": {}
},
{
"content": "<%= javascript_include_tag ${0::all} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"jit": true
},
"options": {}
},
{
"content": "<%= javascript_include_tag \"${0}\" %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"jsit": true
},
"options": {}
},
{
"content": "<%= link_to ${1:model}.${2:name}, ${3:$1}_path(${0:$1}) %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lim": true
},
"options": {}
},
{
"content": "<%= link_to \"${1:Link text...}\", ${2:parent}_${3:child}_path(${4:@$2}, ${0:@$3}) %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"linp": true
},
"options": {}
},
{
"content": "<%= link_to \"${1:Link text...}\", ${2:parent}_${3:child}_path(${0:@$2}) %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"linpp": true
},
"options": {}
},
{
"content": "<%= link_to \"${1:Link text...}\", ${2:model}_path(${0:@$2}) %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lip": true
},
"options": {}
},
{
"content": "<%= link_to \"${1:Link text...}\", ${0:model}s_path %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lipp": true
},
"options": {}
},
{
"content": "<%= link_to \"${1:name}\", ${0:dest} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lt": true
},
"options": {}
},
{
"content": "<%= number_to_currency(${1}) %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ntc": true
},
"options": {}
},
{
"content": "<%= options_from_collection_for_select ${1:collection}, ${2:value_method}, ${3:text_method}, ${0:selected_value} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ofcfs": true
},
"options": {}
},
{
"content": "<%= options_for_select ${1:collection}, ${2:value_method} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ofs": true
},
"options": {}
},
{
"content": "<%= render file: \"${1:file}\"${0} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rf": true
},
"options": {}
},
{
"content": "<%= render template: \"${1:file}\"${0} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rt": true
},
"options": {}
},
{
"content": "<%= stylesheet_link_tag ${1::all}, cache: ${0:true} %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"slt": true
},
"options": {}
},
{
"content": "<%= stylesheet_link_tag \"${0}\" %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sslt": true
},
"options": {}
},
{
"content": "<% if ${1} %>\n\t${0:${VISUAL}}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "<% if ${1} %>\n\t${2}\n<% else %>\n\t${0}\n<% end %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "<% require 'pry'; binding.pry %>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pry": true
},
"options": {}
}
],
"falcon": [
{
"content": "#!/usr/bin/env falcon",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"#!": true
},
"options": {}
},
{
"content": "import ${0:module}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"imp": true
},
"options": {}
},
{
"content": "function ${2:function_name}(${3})\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fun": true
},
"options": {}
},
{
"content": "class ${1:class_name}(${2:class_params})\n\t${0:/* members/methods */}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"class": true
},
"options": {}
},
{
"content": "if ${1:condition}\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "if ${1:condition}\n\t${0}\nelse\n ${1}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "elif ${1:condition}\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"eif": true
},
"options": {}
},
{
"content": "switch ${1:expression}\n\tcase ${2:item}\n\tcase ${0:item}\n\tdefault\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"switch": true
},
"options": {}
},
{
"content": "select ${1:variable}\n\tcase ${2:TypeSpec}\n\tcase ${0:TypeSpec}\n\tdefault\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"select": true
},
"options": {}
},
{
"content": "for ${1:element} in ${2:container}\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"forin": true
},
"options": {}
},
{
"content": "for ${1:lowerbound} to ${2:upperbound}\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"forto": true
},
"options": {}
},
{
"content": "while ${1:conidition}\n\t${0}\nend",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"wh": true
},
"options": {}
}
],
"fortran": [
{
"content": "implicit none\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"impl": true
},
"options": {}
},
{
"content": "program ${1:main}\n\t${0}\nend program $1",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"prog": true
},
"options": {}
},
{
"content": "module ${1:modulename}\n\t${0}\nend module $1",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mod": true
},
"options": {}
},
{
"content": "procedure ${1:name}\n\t${0}\nend procedure $1",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"proc": true
},
"options": {}
},
{
"content": "interface ${1:name}\n\t${0}\nend interface $1",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"iface": true
},
"options": {}
},
{
"content": "!> @param[${1}]${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"doxp": true
},
"options": {}
},
{
"content": "logical :: ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"bool": true
},
"options": {}
},
{
"content": "integer :: ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"int": true
},
"options": {}
},
{
"content": "real :: ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"real": true
},
"options": {}
},
{
"content": "double precision :: ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"double": true
},
"options": {}
},
{
"content": "character(len=${1:*}) :: ${0:}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"str": true
},
"options": {}
},
{
"content": "type(${1:name})\n\t${0}\nend type",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"type": true
},
"options": {}
},
{
"content": "${1:type}, parameter :: $2 = ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"const": true
},
"options": {}
},
{
"content": "${1:type}, ${2:allocatable, }dimension(${3::}) :: ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"arr": true
},
"options": {}
},
{
"content": "${1:type}, intent(inout) :: ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"intent": true
},
"options": {}
},
{
"content": "(/ $1 /) ${2:,&} ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"/": true
},
"options": {}
},
{
"content": "if (${1:condition}) then\n\t${0}\nend if",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "select case (${1:expr})\n\tcase ($2)\n\tcase default\n\t\t$3\nend select ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"case": true
},
"options": {}
},
{
"content": "do ${1:i} = ${2:start}, ${3:end}, ${4:incr}\n\t${0}\nend do",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"do": true
},
"options": {}
},
{
"content": "do while (${1:condition})\n\t$2\nend do",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dow": true
},
"options": {}
},
{
"content": "subroutine ${1:name}($2)\n\t${0}\nend subroutine $1",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"sub": true
},
"options": {}
},
{
"content": "function ${1:name}($2) result($3)\n\t${0}\nend function $1",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"func": true
},
"options": {}
},
{
"content": "write(*,*) ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pr": true
},
"options": {}
},
{
"content": "write(*,*) '$1 = ', $1",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dpr": true
},
"options": {}
},
{
"content": "read(unit = ${1:fp}, file = ${2:filename}, iostat = ${3:ierr}) ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"read": true
},
"options": {}
},
{
"content": "write(unit = ${1:fp}, file = ${2:filename}, iostat = ${3:ierr}) ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"write": true
},
"options": {}
},
{
"content": "open(unit = ${1:fp}, file = ${2:filename}, status = ${3:unknown}, iostat = ${4:ierr}) ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"open": true
},
"options": {}
},
{
"content": "close(unit = ${1:fp}) ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"close": true
},
"options": {}
}
],
"freemarker": [
{
"content": "\\${.version}",
"doc": "",
"grammar": "snu",
"label": "${.version}",
"matches": {
"ver": true
},
"options": {}
},
{
"content": "\\${${0:interpolation${VISUAL}}\\}",
"doc": "",
"grammar": "snu",
"label": "${interpolation}",
"matches": {
"int": true
},
"options": {}
},
{
"content": "\\${${0:interpolation${VISUAL}}!\"${1:default_string}\"\\}",
"doc": "",
"grammar": "snu",
"label": "\"${interpolation!\"default_string\"}\"",
"matches": {
"intd": true
},
"options": {}
},
{
"content": "<#-- ${0:comment${VISUAL}} -->",
"doc": "",
"grammar": "snu",
"label": "<#-- comment -->",
"matches": {
"com": true
},
"options": {}
},
{
"content": "<#assign ${1:variable_name} = ${0:value${VISUAL}} />",
"doc": "",
"grammar": "snu",
"label": "<#assign variable_name = value />",
"matches": {
"ass": true
},
"options": {}
},
{
"content": "<#assign\n\t${1:variable_name} = ${0:value${VISUAL}}\n/>",
"doc": "",
"grammar": "snu",
"label": "<#assign <#-- multiple lines --> />",
"matches": {
"assm": true
},
"options": {}
},
{
"content": "<#local ${1:variable_name} = ${0:value${VISUAL}} />",
"doc": "",
"grammar": "snu",
"label": "<#local variable_name = value />",
"matches": {
"loc": true
},
"options": {}
},
{
"content": "<#local\n\t${1:variable_name} = ${0:value${VISUAL}}\n/>",
"doc": "",
"grammar": "snu",
"label": "<#local <#-- multiple lines --> />",
"matches": {
"locm": true
},
"options": {}
},
{
"content": "<#include \"${0:file.ftl${VISUAL}}\" />",
"doc": "",
"grammar": "snu",
"label": "\"<#include \\\"file.ftl\\\" />\"",
"matches": {
"inc": true
},
"options": {}
},
{
"content": "<#if ${1:true}>\n\t${0:${VISUAL}}\n#if>",
"doc": "",
"grammar": "snu",
"label": "<#if condition>...#if>",
"matches": {
"if": true
},
"options": {}
},
{
"content": "<#if ${1:true}>\n\t${0:${VISUAL}}\n<#else>\n\t${2}\n#if>",
"doc": "",
"grammar": "snu",
"label": "<#if condition>...<#else>...#if>",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "<#list ${1:sequence} as ${2:element}>\n\t${0:${VISUAL}}\n#list>",
"doc": "",
"grammar": "snu",
"label": "<#list sequence as element>...#list>",
"matches": {
"lis": true
},
"options": {}
},
{
"content": "<#list ${1:hashmap}?keys as ${2:key}>\n\t\\${$2\\}: \\${$1[$2]\\}${0:${VISUAL}}\n#list>",
"doc": "",
"grammar": "snu",
"label": "<#list hashmap?keys as element>...#list>",
"matches": {
"lish": true
},
"options": {}
},
{
"content": "<#macro ${1:macro_name} ${2:param1}>\n\t${0:${VISUAL}}\n#macro>",
"doc": "",
"grammar": "snu",
"label": "<#macro macro_name param1>...#macro>",
"matches": {
"mac": true
},
"options": {}
},
{
"content": "<#function ${1:function_name} ${2:param1}>\n\t${0:${VISUAL}}\n#function>",
"doc": "",
"grammar": "snu",
"label": "<#function function_name param1>...#function>",
"matches": {
"fun": true
},
"options": {}
},
{
"content": "<#attempt>\n\t${0:${VISUAL}}\n<#recover>\n#attempt>",
"doc": "",
"grammar": "snu",
"label": "<#attempt>...<#recover>#attempt>",
"matches": {
"att": true
},
"options": {}
},
{
"content": "?then(${1:true}, ${0:false${VISUAL}})",
"doc": "",
"grammar": "snu",
"label": "?then(true, false)",
"matches": {
"?th": true
},
"options": {}
}
],
"fsharp": [
{
"content": "/// ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"doc": true
},
"options": {}
},
{
"content": "// ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"comment": true
},
"options": {}
},
{
"content": "let ${1} = ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"let": true
},
"options": {}
},
{
"content": "[]\nlet ${1} = ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lit": true
},
"options": {}
},
{
"content": "type ${1} = { ${0} }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rec": true
},
"options": {}
},
{
"content": "{| ${0} |}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"arec": true
},
"options": {}
},
{
"content": "let ${1} =\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn": true
},
"options": {}
},
{
"content": "let rec ${1} =\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fnr": true
},
"options": {}
},
{
"content": "(fun ${1} -> ${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lam": true
},
"options": {}
},
{
"content": "module ${1} =\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mod": true
},
"options": {}
},
{
"content": "for ${1} in ${2} do\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"for": true
},
"options": {}
},
{
"content": "if ${1} then\n\t${2}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"if": true
},
"options": {}
},
{
"content": "if ${1} then\n\t${2}\nelse\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "if ${1} then\n\t${2}\nelif ${3} then\n\t${4}\nelse\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ifee": true
},
"options": {}
},
{
"content": "elif ${1} then\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"eif": true
},
"options": {}
},
{
"content": "else\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"el": true
},
"options": {}
},
{
"content": "try\n\t${1}\nwith ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"try": true
},
"options": {}
},
{
"content": "match ${1} with\n| ${2} -> ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"match": true
},
"options": {}
},
{
"content": "| ${1} -> ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"|": true
},
"options": {}
},
{
"content": "|> ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"p": true
},
"options": {}
},
{
"content": "printfn \"${1}\" ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pr": true
},
"options": {}
},
{
"content": "printfn \\$\"${0}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pri": true
},
"options": {}
},
{
"content": "|> Array.map (fun ${1} -> ${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"amap": true
},
"options": {}
},
{
"content": "|> List.map (fun ${1} -> ${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lmap": true
},
"options": {}
},
{
"content": "|> Seq.map (fun ${1} -> ${0})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"smap": true
},
"options": {}
},
{
"content": "|> Array.map (fun x -> printfn \"%A\" x; x) // tap",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"atap": true
},
"options": {}
},
{
"content": "|> List.map (fun x -> printfn \"%A\" x; x) // tap",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ltap": true
},
"options": {}
},
{
"content": "|> Seq.map (fun x -> printfn \"%A\" x; x) // tap",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"stap": true
},
"options": {}
},
{
"content": "[]\nlet main argv =\n\t${0}\n\t0",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"main": true
},
"options": {}
}
],
"gitcommit": [
{
"content": "Co-authored-by: ${1} <${2}>",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"co": true
},
"options": {}
}
],
"go": [
{
"content": "${1} := ${2}",
"doc": "",
"grammar": "snu",
"label": "shorthand variable declaration",
"matches": {
"v": true
},
"options": {}
},
{
"content": "var ${1:t} ${0:string}",
"doc": "",
"grammar": "snu",
"label": "variable initialization",
"matches": {
"vr": true
},
"options": {}
},
{
"content": "var ${1} ${2} = ${3}",
"doc": "",
"grammar": "snu",
"label": "variable declaration",
"matches": {
"var": true
},
"options": {}
},
{
"content": "var (\n\t${1} ${2} = ${3}\n)",
"doc": "",
"grammar": "snu",
"label": "variables declaration",
"matches": {
"vars": true
},
"options": {}
},
{
"content": "append(${1:slice}, ${0:value})",
"doc": "",
"grammar": "snu",
"label": "append",
"matches": {
"ap": true
},
"options": {}
},
{
"content": "bool",
"doc": "",
"grammar": "snu",
"label": "bool",
"matches": {
"bl": true
},
"options": {}
},
{
"content": "byte",
"doc": "",
"grammar": "snu",
"label": "byte",
"matches": {
"bt": true
},
"options": {}
},
{
"content": "break",
"doc": "",
"grammar": "snu",
"label": "break",
"matches": {
"br": true
},
"options": {}
},
{
"content": "chan ${0:int}",
"doc": "",
"grammar": "snu",
"label": "channel",
"matches": {
"ch": true
},
"options": {}
},
{
"content": "case ${1:value}:\n\t${0:${VISUAL}}",
"doc": "",
"grammar": "snu",
"label": "case",
"matches": {
"cs": true
},
"options": {}
},
{
"content": "const (\n\t${1:NAME1} = iota\n\t${0:NAME2}\n)",
"doc": "",
"grammar": "snu",
"label": "constants with iota",
"matches": {
"co": true
},
"options": {}
},
{
"content": "continue",
"doc": "",
"grammar": "snu",
"label": "continue",
"matches": {
"cn": true
},
"options": {}
},
{
"content": "defer ${0:func}()",
"doc": "",
"grammar": "snu",
"label": "defer",
"matches": {
"df": true
},
"options": {}
},
{
"content": "defer func() {\n\tif err := recover(); err != nil {\n\t\t${0:${VISUAL}}\n\t}\n}()",
"doc": "",
"grammar": "snu",
"label": "defer recover",
"matches": {
"dfr": true
},
"options": {}
},
{
"content": "import (\n\t\"${1:package}\"\n)",
"doc": "",
"grammar": "snu",
"label": "import",
"matches": {
"im": true
},
"options": {}
},
{
"content": "interface{}",
"doc": "",
"grammar": "snu",
"label": "interface",
"matches": {
"in": true
},
"options": {}
},
{
"content": "interface ${1:name} {\n\t${2:/* methods */}\n}",
"doc": "",
"grammar": "snu",
"label": "full interface ",
"matches": {
"inf": true
},
"options": {}
},
{
"content": "if ${1:/* condition */} {\n\t${2:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "if condition",
"matches": {
"if": true
},
"options": {}
},
{
"content": "if ${1:/* condition */} {\n\t${2:${VISUAL}}\n} else {\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "if else condition",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "else {\n\t${0:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "else",
"matches": {
"el": true
},
"options": {}
},
{
"content": "if err != nil {\n\treturn err\n}\n${0}",
"doc": "",
"grammar": "snu",
"label": "if error not nil, return err",
"matches": {
"ir": true
},
"options": {}
},
{
"content": "false",
"doc": "",
"grammar": "snu",
"label": "false",
"matches": {
"f": true
},
"options": {}
},
{
"content": "fallthrough",
"doc": "",
"grammar": "snu",
"label": "fallthrough",
"matches": {
"ft": true
},
"options": {}
},
{
"content": "float32",
"doc": "",
"grammar": "snu",
"label": "float",
"matches": {
"fl": true
},
"options": {}
},
{
"content": "float32",
"doc": "",
"grammar": "snu",
"label": "float32",
"matches": {
"f3": true
},
"options": {}
},
{
"content": "float64",
"doc": "",
"grammar": "snu",
"label": "float64",
"matches": {
"f6": true
},
"options": {}
},
{
"content": "for ${1}{\n\t${0:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "for loop",
"matches": {
"for": true
},
"options": {}
},
{
"content": "for ${2:i} := 0; $2 < ${1:count}; $2${3:++} {\n\t${0:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "for int loop",
"matches": {
"fori": true
},
"options": {}
},
{
"content": "for ${1:e} := range ${2:collection} {\n\t${0:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "for range loop",
"matches": {
"forr": true
},
"options": {}
},
{
"content": "func ${1:funcName}(${2}) ${3:error} {\n\t${4}\n}\n${0}",
"doc": "",
"grammar": "snu",
"label": "function",
"matches": {
"fun": true
},
"options": {}
},
{
"content": "func (${1:receiver} ${2:type}) ${3:funcName}(${4}) ${5:error} {\n\t${6}\n}\n${0}",
"doc": "",
"grammar": "snu",
"label": "method",
"matches": {
"fum": true
},
"options": {}
},
{
"content": "func (${1:receiver} ${2:type}) ${3:funcName}(${4:w} http.ResponseWriter, ${5:r} *http.Request) {\n\t${0:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "http handler function on receiver",
"matches": {
"fumh": true
},
"options": {}
},
{
"content": "log.Printf(\"%${1:s}\", ${2:var})",
"doc": "",
"grammar": "snu",
"label": "log printf",
"matches": {
"lf": true
},
"options": {}
},
{
"content": "log.Println(\"${1}\")",
"doc": "",
"grammar": "snu",
"label": "log println",
"matches": {
"lp": true
},
"options": {}
},
{
"content": "make(${1:[]string}, ${0:0})",
"doc": "",
"grammar": "snu",
"label": "make",
"matches": {
"mk": true
},
"options": {}
},
{
"content": "map[${1:string}]${0:int}",
"doc": "",
"grammar": "snu",
"label": "map",
"matches": {
"mp": true
},
"options": {}
},
{
"content": "func main() {\n\t${1}\n}\n${0}",
"doc": "",
"grammar": "snu",
"label": "func main()",
"matches": {
"main": true
},
"options": {}
},
{
"content": "new(${0:type})",
"doc": "",
"grammar": "snu",
"label": "new",
"matches": {
"nw": true
},
"options": {}
},
{
"content": "package ${1:main}",
"doc": "",
"grammar": "snu",
"label": "package",
"matches": {
"pa": true
},
"options": {}
},
{
"content": "panic(\"${0:msg}\")",
"doc": "",
"grammar": "snu",
"label": "panic",
"matches": {
"pn": true
},
"options": {}
},
{
"content": "fmt.Printf(\"%${1:s}\\n\", ${2:var})",
"doc": "",
"grammar": "snu",
"label": "fmt.Printf()",
"matches": {
"pf": true
},
"options": {}
},
{
"content": "fmt.Println(\"${1:s}\")",
"doc": "",
"grammar": "snu",
"label": "fmt.Println()",
"matches": {
"pl": true
},
"options": {}
},
{
"content": "range ${0}",
"doc": "",
"grammar": "snu",
"label": "range",
"matches": {
"rn": true
},
"options": {}
},
{
"content": "return ${0}",
"doc": "",
"grammar": "snu",
"label": "return",
"matches": {
"rt": true
},
"options": {}
},
{
"content": "result",
"doc": "",
"grammar": "snu",
"label": "result",
"matches": {
"rs": true
},
"options": {}
},
{
"content": "select {\ncase ${1:v1} := <-${2:chan1}\n\t${3}\ndefault:\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "select",
"matches": {
"sl": true
},
"options": {}
},
{
"content": "string",
"doc": "",
"grammar": "snu",
"label": "string",
"matches": {
"sr": true
},
"options": {}
},
{
"content": "struct ${1:name} {\n\t${2:/* data */}\n}\n${0}",
"doc": "",
"grammar": "snu",
"label": "struct",
"matches": {
"st": true
},
"options": {}
},
{
"content": "switch ${1:var} {\ncase ${2:value1}:\n\t${3}\ncase ${4:value2}:\n\t${5}\ndefault:\n\t${0}\n}",
"doc": "",
"grammar": "snu",
"label": "switch",
"matches": {
"sw": true
},
"options": {}
},
{
"content": "fmt.Sprintf(\"%${1:s}\", ${2:var})",
"doc": "",
"grammar": "snu",
"label": "fmt.Sprintf",
"matches": {
"ps": true
},
"options": {}
},
{
"content": "true",
"doc": "",
"grammar": "snu",
"label": "true",
"matches": {
"t": true
},
"options": {}
},
{
"content": "go ${1:funcName}(${0})",
"doc": "",
"grammar": "snu",
"label": "goroutine named function",
"matches": {
"g": true
},
"options": {}
},
{
"content": "go func(${1} ${2:type}) {\n\t${3:/* code */}\n}(${0})",
"doc": "",
"grammar": "snu",
"label": "goroutine anonymous function",
"matches": {
"ga": true
},
"options": {}
},
{
"content": "func Test${1:name}(t *testing.T) {\n\t${0:${VISUAL}}\n}",
"doc": "",
"grammar": "snu",
"label": "test function",
"matches": {
"test": true
},
"options": {}
},
{
"content": "func Test${1:name}(t *testing.T) {\n\ttests := []struct {\n\t\tname string\n\t}{\n\t\t{\n\t\t\tname: \"${2:test name}\",\n\t\t},\n\t}\n\tfor _, test := range tests {\n\t\tt.Run(test.name, func(t *testing.T) {\n\t\t\t${0:${VISUAL}}\n\t\t})\n\t}\n}",
"doc": "",
"grammar": "snu",
"label": "table test function",
"matches": {
"testt": true
},
"options": {}
},
{
"content": "func Benchmark${1:name}(b *testing.B) {\n\tfor i := 0; i < b.N; i++ {\n\t\t${2}\n\t}\n}\n${0}",
"doc": "",
"grammar": "snu",
"label": "benchmark function",
"matches": {
"bench": true
},
"options": {}
},
{
"content": "type ${1:name} struct {\n\t${2:attrName} ${3:attrType}\n}",
"doc": "",
"grammar": "snu",
"label": "composite literals",
"matches": {
"cl": true
},
"options": {}
},
{
"content": "if ${1:value}, ok := ${2:map}[${3:key}]; ok == true {\n\t${4:/* code */}\n}",
"doc": "",
"grammar": "snu",
"label": "if key in a map",
"matches": {
"om": true
},
"options": {}
},
{
"content": "var ${1:var} = struct{\n\t${2:name} ${3:type}\n}{\n\t$2: ${4:value},\n}",
"doc": "",
"grammar": "snu",
"label": "Grouped globals with anonymous struct",
"matches": {
"gg": true
},
"options": {}
},
{
"content": "type ${1:parentType}Alias $1\nfunc (p *$1) MarshalJSON() ([]byte, error) {\n\treturn json.Marshal(&struct{ *$1Alias }{(*$1Alias)(p)})\n}",
"doc": "",
"grammar": "snu",
"label": "Marshalable json alias",
"matches": {
"ja": true
},
"options": {}
},
{
"content": "if ${1}err != nil {\n\treturn errors.Wrap(err, \"${2}\")\n}",
"doc": "",
"grammar": "snu",
"label": "Error handling with errors.Wrap",
"matches": {
"errwr": true
},
"options": {}
}
],
"haml": [
{
"content": "%table\n\t%tr\n\t\t%th\n\t\t\t${1:headers}\n\t%tr\n\t\t%td\n\t\t\t${0:headers}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"t": true
},
"options": {}
},
{
"content": "%ul\n\t%li\n\t\t${0:item}\n\t%li",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ul": true
},
"options": {}
},
{
"content": "= render :partial => \"${0:item}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rp": true
},
"options": {}
},
{
"content": "= render :partial => \"${1:item}\", :collection => ${0:@$1s}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rpc": true
},
"options": {}
},
{
"content": "= render :partial => \"${1:item}\", :locals => { :${2:$1} => ${0:@$1} }",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rpl": true
},
"options": {}
},
{
"content": "= render :partial => \"${1:item}\", :object => ${0:@$1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rpo": true
},
"options": {}
},
{
"content": "= link_to ${1:name}, ${2:dest}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lt": true
},
"options": {}
},
{
"content": "= mail_to ${1:email_address}, ${2:name}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mt": true
},
"options": {}
},
{
"content": "= mail_to ${1:email_address}, ${2:name}, :subject => ${3}, :body => ${4}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"mts": true
},
"options": {}
},
{
"content": "- if ${1:condition}\n\t${2:${VISUAL}}\n- else\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ife": true
},
"options": {}
},
{
"content": "- if ${1:condition}.presence?\n\t${0:${VISUAL}}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ifp": true
},
"options": {}
},
{
"content": "= number_to_currency(${1})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ntc": true
},
"options": {}
}
],
"handlebars": [
{
"content": "{{#if ${1:value}}}\n${0:${VISUAL}}\n{{/if}}",
"doc": "",
"grammar": "snu",
"label": "# {{#if value}} ... {{/if}}",
"matches": {
"if": true
},
"options": {}
},
{
"content": "{{#unless ${1:value}}}\n${0:${VISUAL}}\n{{/unless}}",
"doc": "",
"grammar": "snu",
"label": "# {{#unless value}} ... {{/unless}}",
"matches": {
"ifn": true
},
"options": {}
},
{
"content": "{{#if ${1:value}}}\n${2:${VISUAL}}\n{{else}}\n${3}\n{{/if}}",
"doc": "",
"grammar": "snu",
"label": "# {{#if value}} ... {{else}} .. {{/if}}",
"matches": {
"ife": true
},
"options": {}
}
],
"haskell": [
{
"content": "{-# LANGUAGE ${0:OverloadedStrings} #-}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lang": true
},
"options": {}
},
{
"content": "{-# OPTIONS_HADDOCK ${0:hide} #-}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"haddock": true
},
"options": {}
},
{
"content": "{-# OPTIONS_GHC ${0:-fno-warn-unused-imports} #-}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ghc": true
},
"options": {}
},
{
"content": "{-# INLINE ${0:name} #-}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"inline": true
},
"options": {}
},
{
"content": "import ${0:Data.Text}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"imp": true
},
"options": {}
},
{
"content": "import ${0:Data.Text}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"import": true
},
"options": {}
},
{
"content": "import ${1:Data.Text} (${0:head})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"import2": true
},
"options": {}
},
{
"content": "import qualified ${1:Data.Text} as ${0:T}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"impq": true
},
"options": {}
},
{
"content": "import qualified ${1:Data.Text} as ${0:T}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"importq": true
},
"options": {}
},
{
"content": "instance ${1:Monoid} ${2:Type} where\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"inst": true
},
"options": {}
},
{
"content": "type ${1:Type} = ${0:Type}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ty": true
},
"options": {}
},
{
"content": "type ${1:Type} = ${0:Type}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"type": true
},
"options": {}
},
{
"content": "data ${1:Type} = ${2:$1} ${0:Int}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"da": true
},
"options": {}
},
{
"content": "data ${1:Type} = ${2:$1} ${0:Int}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"data": true
},
"options": {}
},
{
"content": "newtype ${1:Type} = ${2:$1} ${0:Int}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"newtype": true
},
"options": {}
},
{
"content": "class ${1:Class} a where\n\t${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"class": true
},
"options": {}
},
{
"content": "main :: IO ()\nmain = ${0:undefined}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"main": true
},
"options": {}
},
{
"content": "${1:name} :: ${2:a}\n$1 = ${0:undefined}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"const": true
},
"options": {}
},
{
"content": "${1:fn} :: ${2:a} -> ${3:a}\n$1 ${4} = ${0:undefined}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn": true
},
"options": {}
},
{
"content": "${1:fn} :: ${2:a}\n$1 = ${0:undefined}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn0": true
},
"options": {}
},
{
"content": "${1:fn} :: ${2:a} -> ${3:a}\n$1 ${4} = ${0:undefined}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn1": true
},
"options": {}
},
{
"content": "${1:fn} :: ${2:a} -> ${3:a} -> ${4:a}\n$1 ${5} = ${0:undefined}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn2": true
},
"options": {}
},
{
"content": "${1:fn} :: ${2:a} -> ${3:a} -> ${4:a} -> ${5:a}\n$1 ${6} = ${0:undefined}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"fn3": true
},
"options": {}
},
{
"content": "(${1:Class} ${2:a}) => $2",
"doc": "",
"grammar": "snu",
"label": "Type constraint",
"matches": {
"=>": true
},
"options": {}
},
{
"content": "${1:map} ${2:fn} ${0:list}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ap": true
},
"options": {}
},
{
"content": "\\\\${1:x} -> ${0:expression}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"\\": true
},
"options": {}
},
{
"content": "(\\\\${1:x} -> ${0:expression})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"(\\": true
},
"options": {}
},
{
"content": "${1:a} <- ${0:m a}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"<-": true
},
"options": {}
},
{
"content": "${1:m a} -> ${0:a}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"->": true
},
"options": {}
},
{
"content": "(${1:a}, ${0:b})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tup": true
},
"options": {}
},
{
"content": "(${1:a}, ${2:b}, ${0:c})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tup2": true
},
"options": {}
},
{
"content": "(${1:a}, ${2:b}, ${3:c}, ${0:d})",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tup3": true
},
"options": {}
},
{
"content": "${1:Record} { ${2:recFieldA} = ${3:undefined}\n\t\t\t, ${4:recFieldB} = ${0:undefined}\n\t\t\t}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rec": true
},
"options": {}
},
{
"content": "case ${1:something} of\n\t${2} -> ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"case": true
},
"options": {}
},
{
"content": "let ${1} = ${2}\nin ${3}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"let": true
},
"options": {}
},
{
"content": "where\n\t${1:fn} = ${0:undefined}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"where": true
},
"options": {}
},
{
"content": "describe \"${1}\" $ do\n\t$0",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"desc": true
},
"options": {}
},
{
"content": "it \"${1}\" $\n\t$0",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"it": true
},
"options": {}
},
{
"content": "it \"${1}\" $ property $\n\t$0",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"itp": true
},
"options": {}
},
{
"content": "{-| ${0}\n-}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"doc": true
},
"options": {}
}
],
"helm": [
{
"content": "apiVersion: v1\nkind: Service\nmetadata:\n{{- if .Values.$1.service.annotations }}\n annotations:\n{{ toYaml .Values.$1.service.annotations | indent 4 }}\n{{- end }}\n labels:\n{{- if .Values.$1.service.labels }}\n{{ toYaml .Values.$1.service.labels | indent 4 }}\n{{- end }}\n\tapp: {{ template \"$2.name\" . }}\n\tchart: {{ .Chart.Name }}-{{ .Chart.Version }}\n\tcomponent: \"{{ .Values.$1.name }}\"\n\theritage: {{ .Release.Service }}\n\trelease: {{ .Release.Name }}\n name: {{ template \"$2.$1.fullname\" . }}\nspec:\n clusterIP: \"{{ .Values.$1.service.clusterIP }}\"\n{{- if .Values.$1.service.externalIPs }}\n externalIPs:\n{{ toYaml .Values.$1.service.externalIPs | indent 4 }}\n{{- end }}\n{{- if .Values.$1.service.loadBalancerIP }}\n loadBalancerIP: \"{{ .Values.$1.service.loadBalancerIP }}\"\n{{- end }}\n{{- if .Values.$1.service.loadBalancerSourceRanges }}\n loadBalancerSourceRanges:\n{{ toYaml .Values.$1.service.loadBalancerSourceRanges | indent 4 }}\n{{- end }}\n healthCheckNodePort: {{ .Values.$1.service.healthCheckNodePort }}\n ports:\n\t- name: http\n\t port: 80\n\t protocol: TCP\n\t targetPort: {{ .Values.$1.service.targetPorts.http }}\n\t {{- if (and (eq .Values.$1.service.type \"NodePort\") (not (empty .Values.$1.service.nodePorts.http))) }}\n\t nodePort: {{ .Values.$1.service.nodePorts.http }}\n\t {{- end }}\n\t- name: https\n\t port: 443\n\t protocol: TCP\n\t targetPort: {{ .Values.$1.service.targetPorts.https }}\n\t {{- if (and (eq .Values.$1.service.type \"NodePort\") (not (empty .Values.$1.service.nodePorts.https))) }}\n\t nodePort: {{ .Values.$1.service.nodePorts.https }}\n\t {{- end }}\n {{- range $key, $value := .Values.tcp }}\n\t- name: \"{{ $key }}-tcp\"\n\t port: {{ $key }}\n\t protocol: TCP\n\t targetPort: \"{{ $key }}-tcp\"\n {{- end }}\n {{- range $key, $value := .Values.udp }}\n\t- name: \"{{ $key }}-udp\"\n\t port: {{ $key }}\n\t protocol: UDP\n\t targetPort: \"{{ $key }}-udp\"\n {{- end }}\n selector:\n\tapp: {{ template \"${2:chartName}.name\" . }}\n\tcomponent: \"{{ .Values.$1.name }}\"\n\trelease: {{ .Release.Name }}\n type: \"{{ .Values.${1:value_key}.service.type }}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"service_sample_spec": true
},
"options": {}
},
{
"content": "apiVersion: v1\nkind: Service\nmetadata:\n{{- if .Values.$1.service.annotations }}\n annotations:\n{{ toYaml .Values.$1.service.annotations | indent 4 }}\n{{- end }}\n labels:\n{{- if .Values.$1.service.labels }}\n{{ toYaml .Values.$1.service.labels | indent 4 }}\n{{- end }}\n\tapp: {{ template \"$2.name\" . }}\n\tchart: {{ .Chart.Name }}-{{ .Chart.Version }}\n\tcomponent: \"{{ .Values.$1.name }}\"\n\theritage: {{ .Release.Service }}\n\trelease: {{ .Release.Name }}\n name: {{ template \"${2:chartName}.${1:value_key}.fullname\" . }}\n# spec\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"service_spec": true
},
"options": {}
},
{
"content": "{{- if .Values.$1.service.annotations }}\n annotations:\n{{ toYaml .Values.${1:value_key}.service.annotations | indent 4 }}\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"annotations_spec": true
},
"options": {}
},
{
"content": " labels:\n{{- if .Values.$1.service.labels }}\n{{ toYaml .Values.$1.service.labels | indent 4 }}\n{{- end }}\n\tapp: {{ template \"$2.name\" . }}\n\tchart: {{ .Chart.Name }}-{{ .Chart.Version }}\n\tcomponent: \"{{ .Values.$1.name }}\"\n\theritage: {{ .Release.Service }}\n\trelease: {{ .Release.Name }}\n name: {{ template \"${2:chartName}.${1:value_key}.fullname\" . }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"labels_spec": true
},
"options": {}
},
{
"content": "spec:\n type: \"{{ .Values.$1.service.type }}\"\n clusterIP: \"{{ .Values.$1.service.clusterIP }}\"\n{{- if .Values.$1.service.externalIPs }}\n externalIPs:\n{{ toYaml .Values.$1.service.externalIPs | indent 4 }}\n{{- end }}\n{{- if .Values.$1.service.loadBalancerIP }}\n loadBalancerIP: \"{{ .Values.$1.service.loadBalancerIP }}\"\n{{- end }}\n{{- if .Values.$1.service.loadBalancerSourceRanges }}\n loadBalancerSourceRanges:\n{{ toYaml .Values.$1.service.loadBalancerSourceRanges | indent 4 }}\n{{- end }}\n{{- if and (semverCompare \">=1.7-0\" .Capabilities.KubeVersion.GitVersion) (.Values.$1.service.externalTrafficPolicy) }}\n externalTrafficPolicy: \"{{ .Values.$1.service.externalTrafficPolicy }}\"\n{{- end }}\n{{- if and (semverCompare \">=1.7-0\" .Capabilities.KubeVersion.GitVersion) (.Values.$1.service.healthCheckNodePort) }}\n healthCheckNodePort: {{ .Values.${1:value_key}.service.healthCheckNodePort }}\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"service_spec": true
},
"options": {}
},
{
"content": "ports:\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ports_spec": true
},
"options": {}
},
{
"content": "- name: http\n port: 80\n protocol: TCP\n targetPort: {{ .Values.$1.service.targetPorts.http }}\n {{- if (and (eq .Values.$1.service.type \"NodePort\") (not (empty .Values.$1.service.nodePorts.http))) }}\n nodePort: {{ .Values.${1:value_key}.service.nodePorts.http }}\n {{- end }}\n ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"portHTTP_spec": true
},
"options": {}
},
{
"content": "- name: https\n port: 443\n protocol: TCP\n targetPort: {{ .Values.$1.service.targetPorts.https }}\n {{- if (and (eq .Values.$1.service.type \"NodePort\") (not (empty .Values.$1.service.nodePorts.https))) }}\n nodePort: {{ .Values.${1:value_key}.service.nodePorts.https }}\n {{- end }}\n ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"portHTTPS_spec": true
},
"options": {}
},
{
"content": "{{- range $key, $value := .Values.tcp }}\n - name: \"{{ $key }}-tcp\"\n\tport: {{ $key }}\n\tprotocol: TCP\n\ttargetPort: \"{{ $key }}-tcp\"\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"portTCP_spec": true
},
"options": {}
},
{
"content": "{{- range $key, $value := .Values.udp }}\n - name: \"{{ $key }}-udp\"\n\tport: {{ $key }}\n\tprotocol: UDP\n\ttargetPort: \"{{ $key }}-udp\"\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"portUDP_spec": true
},
"options": {}
},
{
"content": "selector:\n app: {{ template \"${2:chartName}.name\" . }}\n component: \"{{ .Values.${1:value_key}.name }}\"\n release: {{ .Release.Name }}\n ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"selector_spec": true
},
"options": {}
},
{
"content": "{{- if .Values.$1.enabled }}\napiVersion: extensions/v1beta1\nkind: Deployment\nmetadata:\n labels:\n\tapp: {{ template \"$2.name\" . }}\n\tchart: {{ .Chart.Name }}-{{ .Chart.Version }}\n\tcomponent: \"{{ .Values.$1.name }}\"\n\theritage: {{ .Release.Service }}\n\trelease: {{ .Release.Name }}\n name: {{ template \"$2.$1.fullname\" . }}\nspec:\n replicas: {{ .Values.$1.replicaCount }}\n revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}\n template:\n\tmetadata:\n\t{{- if .Values.$1.podAnnotations }}\n\t annotations:\n{{ toYaml .Values.$1.podAnnotations | indent 8 }}\n\t{{- end }}\n\t labels:\n\t\tapp: {{ template \"$2.name\" . }}\n\t\tcomponent: \"{{ .Values.$1.name }}\"\n\t\trelease: {{ .Release.Name }}\n\t\t{{- if .Values.$1.podLabels }}\n{{ toYaml .Values.$1.podLabels | indent 8 }}\n\t\t{{- end }}\n\tspec:\n\t {{- if .Values.imagePullSecrets }}\n\t imagePullSecrets:\n{{ toYaml .Values.imagePullSecrets | indent 8 }}\n\t {{- end }}\n\t containers:\n\t\t- name: {{ template \"${2:chartName}.name\" . }}-{{ .Values.$1.name }}\n\t\t image: \"{{ .Values.$1.image.repository }}:{{ .Values.$1.image.tag }}\"\n\t\t imagePullPolicy: \"{{ .Values.$1.image.pullPolicy }}\"\n\t\t args:\n\t\t {{- range $key, $value := .Values.$1.extraArgs }}\n\t\t\t{{- if $value }}\n\t\t\t- --{{ $key }}={{ $value }}\n\t\t\t{{- else }}\n\t\t\t- --{{ $key }}\n\t\t\t{{- end }}\n\t\t {{- end }}\n\t\t livenessProbe:\n\t\t\thttpGet:\n\t\t\t path: /healthz\n\t\t\t port: 8080\n\t\t\t scheme: HTTP\n\t\t\tinitialDelaySeconds: 30\n\t\t\ttimeoutSeconds: 5\n\t\t ports:\n\t\t\t- name: http\n\t\t\t containerPort: 8080\n\t\t\t protocol: TCP\n\t\t resources:\n{{ toYaml .Values.$1.resources | indent 12 }}\n\t{{- if .Values.$1.nodeSelector }}\n\t nodeSelector:\n{{ toYaml .Values.$1.nodeSelector | indent 8 }}\n\t{{- end }}\n\t{{- if .Values.$1.tolerations }}\n\t tolerations:\n{{ toYaml .Values.$1.tolerations | indent 8 }}\n\t{{- end }}\n\t{{- if .Values.$1.affinity }}\n\t affinity:\n{{ toYaml .Values.${1:value_key}.affinity | indent 8 }}\n\t{{- end }}\n\t terminationGracePeriodSeconds: 60\n{{- end }}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"deploy_sample_spec": true
},
"options": {}
},
{
"content": "{{- if .Values.$1.enabled }}\napiVersion: extensions/v1beta1\nkind: Deployment\nmetadata:\n labels:\n\tapp: {{ template \"$2.name\" . }}\n\tchart: {{ .Chart.Name }}-{{ .Chart.Version }}\n\tcomponent: \"{{ .Values.$1.name }}\"\n\theritage: {{ .Release.Service }}\n\trelease: {{ .Release.Name }}\n name: {{ template \"${2:chartName}.${1:value_key}.fullname\" . }}\n# spec\n\t# containers_spec\n\t# livenessProbe_spec\n\t# PersistentVolumeClaim_spec\n\t# initContainers_spec\n\t# resources_spec\n\t# nodeselector_spec\n\t# tolerations_spec\n\t# affinity_spec\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"deploy_spec": true
},
"options": {}
},
{
"content": "spec:\n replicas: {{ .Values.$1.replicaCount }}\n revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}\n template:\n\tmetadata:\n\t{{- if .Values.$1.podAnnotations }}\n\t annotations:\n{{ toYaml .Values.$1.podAnnotations | indent 8 }}\n\t{{- end }}\n\t labels:\n\t\tapp: {{ template \"${2:chartName}.name\" . }}\n\t\tcomponent: \"{{ .Values.$1.name }}\"\n\t\trelease: {{ .Release.Name }}\n\t\t{{- if .Values.$1.podLabels }}\n{{ toYaml .Values.${1:value_key}.podLabels | indent 8 }}\n\t\t{{- end }}\n\tspec:\n\t {{- if .Values.imagePullSecrets }}\n\t imagePullSecrets:\n{{ toYaml .Values.imagePullSecrets | indent 8 }}\n\t {{- end }}\n\t ${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"spec_spec": true
},
"options": {}
},
{
"content": "\t {{- if .Values.imagePullSecrets }}\n\t imagePullSecrets:\n{{ toYaml .Values.imagePullSecrets | indent 8 }}\n\t {{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"imagePullSecrets_spec": true
},
"options": {}
},
{
"content": "imagePullPolicy: ${1:imagePullPolicy}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"imagePullPolicy_spec": true
},
"options": {}
},
{
"content": "containers:\n - name: {{ template \"${2:chartName}.name\" . }}-{{ .Values.$1.name }}\n\timage: \"{{ .Values.$1.image.repository }}:{{ .Values.$1.image.tag }}\"\n\timagePullPolicy: \"{{ .Values.${1:value_key}.image.pullPolicy }}\"\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"containers_spec": true
},
"options": {}
},
{
"content": "args:\n{{- range $key, $value := .Values.${1:value_key}.extraArgs }}\n {{- if $value }}\n - --{{ $key }}={{ $value }}\n {{- else }}\n - --{{ $key }}\n {{- end }}\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"args_spec": true
},
"options": {}
},
{
"content": "livenessProbe:\n httpGet:\n\tpath: /healthz\n\tport: 8080\n\tscheme: HTTP\n initialDelaySeconds: 30\n timeoutSeconds: 5\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"livenessProbe_spec": true
},
"options": {}
},
{
"content": "readinessProbe:\n httpGet:\n\tpath: /go/api/v1/health\n\tport: 8153\n initialDelaySeconds: {{ .Values.$1.healthCheck.initialDelaySeconds }}\n periodSeconds: {{ .Values.$1.healthCheck.periodSeconds }}\n failureThreshold: {{ .Values.$1.healthCheck.failureThreshold }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"readinessProbe_spec": true
},
"options": {}
},
{
"content": "resources:\n{{ toYaml .Values.${1:value_key}.resources | indent 12 }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"resources_spec": true
},
"options": {}
},
{
"content": "{{- if .Values.$1.nodeSelector }}\n nodeSelector:\n{{ toYaml .Values.${1:value_key}.nodeSelector | indent 8 }}\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"nodeselector_spec": true
},
"options": {}
},
{
"content": "{{- if .Values.$1.tolerations }}\n tolerations:\n{{ toYaml .Values.${1:value_key}.tolerations | indent 8 }}\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tolerations_spec": true
},
"options": {}
},
{
"content": "{{- if .Values.$1.affinity }}\n affinity:\n{{ toYaml .Values.${1:value_key}.affinity | indent 8 }}\n{{- end }}\n terminationGracePeriodSeconds: 60\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"affinity_spec": true
},
"options": {}
},
{
"content": "kind: PersistentVolumeClaim\napiVersion: v1\nmetadata:\n name: {{ template \"${2}.$1.fullname\" . }}\n labels:\n\tapp: {{ template \"${2:chartName}.name\" . }}\n\tchart: \"{{ .Chart.Name }}-{{ .Chart.Version }}\"\n\trelease: \"{{ .Release.Name }}\"\n\theritage: \"{{ .Release.Service }}\"\nspec:\n accessModes:\n\t- {{ .Values.$1.persistence.accessMode | quote }}\n resources:\n\trequests:\n\t storage: {{ .Values.$1.persistence.size | quote }}\n{{- if .Values.$1.persistence.storageClass }}\n{{- if (eq \"-\" .Values.$1.persistence.storageClass) }}\n storageClassName: \"\"\n{{- else }}\n storageClassName: \"{{ .Values.${1:value_key}.persistence.storageClass }}\"\n{{- end }}\n{{- end }}\n{{- end }}\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"PersistentVolumeClaim_spec": true
},
"options": {}
},
{
"content": "{{- if .Values.artifactory.enabled -}}\n apiVersion: v1\n kind: ConfigMap\n metadata:\n\tname: {{ template \"${2:chartName}.fullname\" . }}-${1:value_key}-config\n\tlabels:\n\t app: {{ template \"${2}.name\" . }}\n\t chart: {{ .Chart.Name }}-{{ .Chart.Version }}\n\t heritage: {{ .Release.Service }}\n\t release: {{ .Release.Name }}\n data:\n\t${3:nameOfConfigFile}.conf: |\n\t # data goes here\n{{- end -}}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"configMap_spec": true
},
"options": {}
},
{
"content": "{{- if .Values.$1.initContainers }}\n\t initContainers:\n\t - name: wait-workers\n\t\timage: \"{{ .Values.$1.image.repository }}:{{ .Values.$1.image.tag }}\"\n\t\timagePullPolicy: {{ .Values.${1:value_key}.image.pullPolicy }}\n\t\t# env\n\t\tcommand:\n\t\t - sh\n\t\t - -c\n\t\t - |\n\t\t\tuntil printf \".\" && nc -z -w 2 {{ template \"${2:chartName}.fullname\" . }} {{ .Values.postgresql.service.port }}; do\n\t\t\t\tsleep 2;\n\t\t\tdone;\n\t\t\techo 'PostgreSQL OK ✓'\n\t\t# args\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"initContainers_spec": true
},
"options": {}
},
{
"content": "kind: PersistentVolumeClaim\napiVersion: v1\nmetadata:\n name: {{ template \"$2.fullname\" . }}\n labels:\n\tchart: \"{{ .Chart.Name }}-{{ .Chart.Version }}\"\n\trelease: \"{{ .Release.Name }}\"\n\theritage: \"{{ .Release.Service }}\"\n\tapp: {{ template \"${2:chartName}.fullname\" . }}\nspec:\n accessModes:\n\t- {{ .Values.persistence.accessMode | quote }}\n resources:\n\trequests:\n\t storage: {{ .Values.persistence.size | quote }}\n{{- if .Values.persistence.storageClass }}\n{{- if (eq \"-\" .Values.persistence.storageClass) }}\n storageClassName: \"\"\n{{- else }}\n storageClassName: \"{{ .Values.persistence.storageClass }}\"\n{{- end }}\n{{- end }}\n{{- end }}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pvc_spec": true
},
"options": {}
},
{
"content": "apiVersion: v1\nkind: PersistentVolume\nmetadata:\n name: {{ template \"$2.fullname\" . }}-data-pv\n labels:\n\tapp: {{ template \"$2.name\" . }}\n\tchart: {{ .Chart.Name }}-{{ .Chart.Version }}\n\theritage: {{ .Release.Service }}\n\trelease: {{ .Release.Name }}\n\tid: {{ template \"${2:chartName}.name\" . }}-data-pv\n\ttype: nfs-volume\nspec:\n capacity:\n\tstorage: {{ .Values.$1.persistence.nfs.capacity }}\n accessModes:\n - ReadWriteOnce\n persistentVolumeReclaimPolicy: Retain\n nfs:\n\tserver: {{ .Values.$1.persistence.nfs.ip }}\n\tpath: \"{{ .Values.${1:value_key}.persistence.nfs.haDataMount }}\"\n\treadOnly: false\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pv_nfs_spec": true
},
"options": {}
},
{
"content": "{{- if and .Values.persistence.enabled .Values.persistence.$1.hostPath (not\n.Values.persistence.$1.existingClaim) -}}\napiVersion: v1\nkind: PersistentVolume\nmetadata:\n name: {{ template \"${2:chartName}.fullname\" . }}-$1\nspec:\n accessModes:\n\t- {{ .Values.persistence.$1.accessMode | quote }}\n capacity:\n\tstorage: {{ .Values.persistence.$1.size | quote }}\n hostPath:\n\tpath: {{ .Values.persistence.${1:value_key}.hostPath | quote }}\n{{- end -}}\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"pvc_hostpath_spec": true
},
"options": {}
},
{
"content": "$1:\n name: ${1:value_key}\n image:\n\trepository: \n\ttag: \n\tpullPolicy: IfNotPresent\n hostNetwork: false\n dnsPolicy: ClusterFirst\n daemonset:\n\tuseHostPort: false\n podLabels: {}\n scope:\n\tenabled: false\n\tnamespace: \"\" # defaults to .Release.Namespace\n extraArgs: {}\n extraEnvs: []\n kind: Deployment\n updateStrategy: {}\n minReadySeconds: 0\n tolerations: []\n affinity: {}\n nodeSelector: {}\n podAnnotations: {}\n replicaCount: 1\n minAvailable: 1\n resources: {}\n autoscaling:\n\tenabled: false\n extraContainers: {}\n extraVolumeMounts: {}\n extraVolumes: {}\n extraInitContainers: []\n lifecycle: {}\nrevisionHistoryLimit: 10\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"deploy_values": true
},
"options": {}
},
{
"content": "${1:value_key}:\nrbac:\n create: true\nserviceAccount:\n create: true\n name:\nimagePullSecrets: []\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rbac_values": true
},
"options": {}
},
{
"content": "${1:value_key}:\n service:\n\tannotations: {}\n\tlabels: {}\n\tclusterIP: \"\"\n\texternalIPs: []\n\tloadBalancerIP: \"\"\n\tloadBalancerSourceRanges: []\n\texternalTrafficPolicy: \"\"\n\thealthCheckNodePort: 0\n\ttargetPorts:\n\t http: http\n\t https: https\n\ttype: LoadBalancer\n\tnodePorts:\n\t http: \"\"\n\t https: \"\"\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"service_values": true
},
"options": {}
},
{
"content": "${1:value_key}:\n readinessProbe:\n\tfailureThreshold: 3\n\tinitialDelaySeconds: 10\n\tperiodSeconds: 10\n\tsuccessThreshold: 1\n\ttimeoutSeconds: 1\n\tport: 10254\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"readinessProbe_values": true
},
"options": {}
},
{
"content": "${1:value_key}:\n livenessProbe:\n\tfailureThreshold: 3\n\tinitialDelaySeconds: 10\n\tperiodSeconds: 10\n\tsuccessThreshold: 1\n\ttimeoutSeconds: 1\n\tport: 10254\n${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"livenessProbe_values": true
},
"options": {}
}
],
"html": [
{
"content": " ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"nbs": true
},
"options": {}
},
{
"content": "←",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"left": true
},
"options": {}
},
{
"content": "→",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"right": true
},
"options": {}
},
{
"content": "↑",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"up": true
},
"options": {}
},
{
"content": "↓",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"down": true
},
"options": {}
},
{
"content": "↩",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"return": true
},
"options": {}
},
{
"content": "⇤",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"backtab": true
},
"options": {}
},
{
"content": "⇥",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"tab": true
},
"options": {}
},
{
"content": "⇧",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"shift": true
},
"options": {}
},
{
"content": "⌃",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"ctrl": true
},
"options": {}
},
{
"content": "⌅",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"enter": true
},
"options": {}
},
{
"content": "⌘",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cmd": true
},
"options": {}
},
{
"content": "⌥",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"option": true
},
"options": {}
},
{
"content": "⌦",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"delete": true
},
"options": {}
},
{
"content": "⌫",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"backspace": true
},
"options": {}
},
{
"content": "⎋",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"esc": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"//": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"docts": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"doct": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"doct5": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"docxf": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"docxs": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"docxt": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"docx": true
},
"options": {}
},
{
"content": "${1:attribute}=\"${0:property}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"attr": true
},
"options": {}
},
{
"content": "${1:attribute}=\"${2:property}\" attr+",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"attr+": true
},
"options": {}
},
{
"content": "class=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
".": true
},
"options": {}
},
{
"content": "id=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"#": true
},
"options": {}
},
{
"content": "alt=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"alt": true
},
"options": {}
},
{
"content": "charset=\"${1:utf-8}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"charset": true
},
"options": {}
},
{
"content": "data-${1}=\"${2:$1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"data": true
},
"options": {}
},
{
"content": "for=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"for": true
},
"options": {}
},
{
"content": "height=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"height": true
},
"options": {}
},
{
"content": "href=\"${1:#}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"href": true
},
"options": {}
},
{
"content": "lang=\"${1:en}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"lang": true
},
"options": {}
},
{
"content": "media=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"media": true
},
"options": {}
},
{
"content": "name=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"name": true
},
"options": {}
},
{
"content": "rel=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"rel": true
},
"options": {}
},
{
"content": "scope=\"${1:row}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"scope": true
},
"options": {}
},
{
"content": "src=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"src": true
},
"options": {}
},
{
"content": "title=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"title=": true
},
"options": {}
},
{
"content": "type=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"type": true
},
"options": {}
},
{
"content": "value=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"value": true
},
"options": {}
},
{
"content": "width=\"${1}\"",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"width": true
},
"options": {}
},
{
"content": "${0:$1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"a": true
},
"options": {}
},
{
"content": "${0:$1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"a.": true
},
"options": {}
},
{
"content": "${0:$1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"a#": true
},
"options": {}
},
{
"content": "${0:$1}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"a:ext": true
},
"options": {}
},
{
"content": "${0:email me}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"a:mail": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"abbr": true
},
"options": {}
},
{
"content": "\n\t${0}\n",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"address": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"area": true
},
"options": {}
},
{
"content": "\narea+",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"area+": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"area:c": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"area:d": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"area:p": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"area:r": true
},
"options": {}
},
{
"content": "\n\t${0}\n",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"article": true
},
"options": {}
},
{
"content": "\n\t${0}\n",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"article.": true
},
"options": {}
},
{
"content": "\n\t${0}\n",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"article#": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"aside": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"aside.": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"aside#": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"audio": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"b": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"base": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"bdi": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"bdo": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"bdo:l": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"bdo:r": true
},
"options": {}
},
{
"content": "\n\t${0}\n
",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"blockquote": true
},
"options": {}
},
{
"content": "\n\t${0}\n",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"body": true
},
"options": {}
},
{
"content": "
",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"br": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"button": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"button.": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"button#": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"button:s": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"button:r": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"canvas": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"caption": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"cite": true
},
"options": {}
},
{
"content": "${0}
",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"code": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"col": true
},
"options": {}
},
{
"content": "\n\t${0}\n",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"colgroup": true
},
"options": {}
},
{
"content": "\n\t\n\tcol+${0}\n",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"colgroup+": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"command": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"command:c": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"command:r": true
},
"options": {}
},
{
"content": "\n\t${0}\n",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"datagrid": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"datalist": true
},
"options": {}
},
{
"content": "\n\t${0}\n",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"datatemplate": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dd": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dd.": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dd#": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"del": true
},
"options": {}
},
{
"content": "${0} ",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"details": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dfn": true
},
"options": {}
},
{
"content": "",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dialog": true
},
"options": {}
},
{
"content": "\n\t${0}\n
",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"div": true
},
"options": {}
},
{
"content": "\n\t${0}\n
",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"div.": true
},
"options": {}
},
{
"content": "\n\t${0}\n
",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"div#": true
},
"options": {}
},
{
"content": "\n\t${0}\n
",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dl": true
},
"options": {}
},
{
"content": "\n\t${0}\n
",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dl.": true
},
"options": {}
},
{
"content": "\n\t${0}\n
",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dl#": true
},
"options": {}
},
{
"content": "\n\t- ${1}
\n\t- ${2}
\n\tdt+${0}\n
",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dl+": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dt": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dt.": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dt#": true
},
"options": {}
},
{
"content": "${1}\n${2}\ndt+${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"dt+": true
},
"options": {}
},
{
"content": "${0}",
"doc": "",
"grammar": "snu",
"label": "",
"matches": {
"em": true
},
"options": {}
},
{
"content": "