{ "neosnippet-snippets/neosnippets": [ { "Gemfile": {}, "_": {}, "actionscript": {}, "ada": {}, "apache": {}, "applescript": {}, "asciidoc": {}, "asciidoctor": { "asciidoc": true }, "asm": {}, "beancount": {}, "bib": {}, "blade": {}, "c": {}, "clojure": {}, "cmake": {}, "coffee": {}, "cpp": { "c": true }, "cs": {}, "css": {}, "cuda": { "cpp": true }, "d": { "c": true }, "elixir": {}, "elm": {}, "erlang": {}, "eruby": {}, "fortran": {}, "fsharp": {}, "gnuplot": {}, "go": {}, "groovy": {}, "haskell": {}, "html": {}, "java": {}, "javascript": {}, "julia": {}, "kp19pp": {}, "liquid": {}, "lua": {}, "make": {}, "markdown": {}, "mediawiki": {}, "mkd": { "markdown": true }, "moon": {}, "neosnippet": {}, "nim": {}, "objc": {}, "ocaml": {}, "perl": {}, "php": {}, "prolog": {}, "python": {}, "rails": {}, "rst": {}, "ruby": {}, "rust": {}, "scala": {}, "scheme": {}, "scss": { "css": true }, "sh": {}, "sql": {}, "sshconfig": {}, "swift": {}, "systemverilog": { "verilog": true }, "tex": {}, "toml": {}, "twig": {}, "typescript": { "javascript": true }, "typescriptreact": { "typescript": true }, "verilog": {}, "vim": {}, "vimshell": {}, "vimspec": { "vim": true }, "vimwiki": {}, "vital": {}, "vue": {}, "xhtml": { "html": true }, "zsh": { "sh": true } }, { "Gemfile": [ { "content": "source :rubygems", "doc": "", "grammar": "snu", "label": "", "matches": { "source-rubygems": true }, "options": { "head": true } }, { "content": "gem '${1}', '${2} >= 1.0'", "doc": "", "grammar": "snu", "label": "", "matches": { "gem": true }, "options": { "head": true } } ], "_": [], "actionscript": [ { "content": "#endinitclip", "doc": "", "grammar": "snu", "label": "", "matches": { "ec": true }, "options": {} }, { "content": "#include \"${1}\"", "doc": "", "grammar": "snu", "label": "", "matches": { "inc": true }, "options": {} }, { "content": "break;", "doc": "", "grammar": "snu", "label": "", "matches": { "br": true }, "options": {} }, { "content": "call(${1:#:frame});", "doc": "", "grammar": "snu", "label": "", "matches": { "ca": true }, "options": {} }, { "content": "case ${1:#:expression} :\n\t${1:TARGET}", "doc": "", "grammar": "snu", "label": "ce", "matches": { "case": true }, "options": {} }, { "content": "catch ($1) {\n\t$2\n}", "doc": "", "grammar": "snu", "label": "ch", "matches": { "catch": true }, "options": {} }, { "content": "class ${1:#:ClassName} {\n\tvar _${2};\n\tfunction ${1}(${2}){\n\t\t_${2} = ${2};${0}\n\t}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "class": true }, "options": {} }, { "content": "continue;", "doc": "", "grammar": "snu", "label": "", "matches": { "co": true }, "options": {} }, { "content": "default :\n\t${1:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "dt": true }, "options": {} }, { "content": "delete ${1};", "doc": "", "grammar": "snu", "label": "", "matches": { "de": true }, "options": {} }, { "content": "do {\n\t${1:TARGET}\n} while (${2:#:condition});", "doc": "", "grammar": "snu", "label": "", "matches": { "do": true }, "options": {} }, { "content": "duplicateMovieClip(${1:#:target}, ${2:#:newName}, ${3:#:depth});", "doc": "", "grammar": "snu", "label": "", "matches": { "dm": true }, "options": {} }, { "content": "else if (${1}) {\n\t${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "ei": true }, "options": {} }, { "content": "for (var ${1} in ${2}){\n\t${3:TARGET}\n};", "doc": "", "grammar": "snu", "label": "fi", "matches": { "fori": true }, "options": {} }, { "content": "for (var ${1} = 0; $1 < ${2}.length; $1++) {\n\t${0:TARGET}\n};", "doc": "", "grammar": "snu", "label": "fr", "matches": { "for": true }, "options": {} }, { "content": "fscommand(${1:#:command}, ${2:#:paramaters});", "doc": "", "grammar": "snu", "label": "", "matches": { "fs": true }, "options": {} }, { "content": "function ${1}(${2}):${3}{\n\t${0:TARGET}\n};", "doc": "", "grammar": "snu", "label": "", "matches": { "fn": true }, "options": {} }, { "content": "getURL(${1});", "doc": "", "grammar": "snu", "label": "", "matches": { "gu": true }, "options": {} }, { "content": "gotoAndPlay(${1});", "doc": "", "grammar": "snu", "label": "", "matches": { "gp": true }, "options": {} }, { "content": "gotoAndStop(${1});", "doc": "", "grammar": "snu", "label": "", "matches": { "gs": true }, "options": {} }, { "content": "if (${1}) {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": {} }, { "content": "ifFrameLoaded (${1}) {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "il": true }, "options": {} }, { "content": "import ${1};", "doc": "", "grammar": "snu", "label": "", "matches": { "ip": true }, "options": {} }, { "content": "interface ${1}{\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "it": true }, "options": {} }, { "content": "loadMovie(${1:url}, ${2:target}, ${3:method});", "doc": "", "grammar": "snu", "label": "", "matches": { "lm": true }, "options": {} }, { "content": "loadMovieNum(${1:url}, ${2:level}, ${3:method});", "doc": "", "grammar": "snu", "label": "", "matches": { "ln": true }, "options": {} }, { "content": "loadVariables(${1:url}, ${2:target}, ${3:method});", "doc": "", "grammar": "snu", "label": "", "matches": { "lv": true }, "options": {} }, { "content": "loadVariables(${1:url}, ${2:level}, ${3:method});", "doc": "", "grammar": "snu", "label": "", "matches": { "vn": true }, "options": {} }, { "content": "MovieClip", "doc": "", "grammar": "snu", "label": "", "matches": { "mc": true }, "options": {} }, { "content": "nextFrame();", "doc": "", "grammar": "snu", "label": "", "matches": { "nf": true }, "options": {} }, { "content": "nextScene();", "doc": "", "grammar": "snu", "label": "", "matches": { "ns": true }, "options": {} }, { "content": "on (${1}) {\n\t${2}\n};", "doc": "", "grammar": "snu", "label": "", "matches": { "on": true }, "options": {} }, { "content": "onClipEvent (${1}) {\n\t${0:TARGET}\n};", "doc": "", "grammar": "snu", "label": "", "matches": { "oc": true }, "options": {} }, { "content": "play();", "doc": "", "grammar": "snu", "label": "", "matches": { "pl": true }, "options": {} }, { "content": "pravFrame();", "doc": "", "grammar": "snu", "label": "", "matches": { "pf": true }, "options": {} }, { "content": "prevScene();", "doc": "", "grammar": "snu", "label": "", "matches": { "ps": true }, "options": {} }, { "content": "print(${1:#:target}, ${2:#:type});", "doc": "", "grammar": "snu", "label": "", "matches": { "pr": true }, "options": {} }, { "content": "printAsBitmapNum(${1:#:level}, ${2:#:type});", "doc": "", "grammar": "snu", "label": "", "matches": { "bn": true }, "options": {} }, { "content": "printNum(${1:#:level}, ${2:#:type});", "doc": "", "grammar": "snu", "label": "", "matches": { "pn": true }, "options": {} }, { "content": "removeMovieClip(${1:#:target});", "doc": "", "grammar": "snu", "label": "", "matches": { "rm": true }, "options": {} }, { "content": "return ${1};", "doc": "", "grammar": "snu", "label": "", "matches": { "rt": true }, "options": {} }, { "content": "setProperty(${1:#:target}, ${2:#:property}, ${3:#:value});", "doc": "", "grammar": "snu", "label": "", "matches": { "sp": true }, "options": {} }, { "content": "set(${1:#:name}, ${2:#:value});", "doc": "", "grammar": "snu", "label": "", "matches": { "sv": true }, "options": {} }, { "content": "startDrag(${1:#:target}, ${2:#:lockcenter}, ${3:#:l}, ${4:#:t}, ${5:#:r}, ${6:#:b} );", "doc": "", "grammar": "snu", "label": "", "matches": { "dr": true }, "options": {} }, { "content": "stop();", "doc": "", "grammar": "snu", "label": "", "matches": { "st": true }, "options": {} }, { "content": "stopAllSounds();", "doc": "", "grammar": "snu", "label": "", "matches": { "ss": true }, "options": {} }, { "content": "stopDrag();", "doc": "", "grammar": "snu", "label": "", "matches": { "sd": true }, "options": {} }, { "content": "switch ( ${1:#:condition} ) {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "sw": true }, "options": {} }, { "content": "tellTarget( ${1:#:target} ) {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "tt": true }, "options": {} }, { "content": "throw ${1};", "doc": "", "grammar": "snu", "label": "", "matches": { "th": true }, "options": {} }, { "content": "toggleHighQuality();", "doc": "", "grammar": "snu", "label": "", "matches": { "tq": true }, "options": {} }, { "content": "trace(${1:\"$0\"});", "doc": "", "grammar": "snu", "label": "", "matches": { "tr": true }, "options": {} }, { "content": "try {\n\t${0:TARGET}\n};", "doc": "", "grammar": "snu", "label": "", "matches": { "ty": true }, "options": {} }, { "content": "unloadMovie(${1:#:target});", "doc": "", "grammar": "snu", "label": "", "matches": { "um": true }, "options": {} }, { "content": "unloadMovieNum(${1:#:level});", "doc": "", "grammar": "snu", "label": "", "matches": { "un": true }, "options": {} }, { "content": "var ${1}:${2};", "doc": "", "grammar": "snu", "label": "", "matches": { "vr": true }, "options": {} }, { "content": "while (${1:#:condition}) {\n\t${0:TARGET}\n};", "doc": "", "grammar": "snu", "label": "", "matches": { "wh": true }, "options": {} }, { "content": "with (${1:#:target});\n\t${0:TARGET}\n};", "doc": "", "grammar": "snu", "label": "", "matches": { "wt": true }, "options": {} } ], "ada": [ { "content": "with ${1};${2}", "doc": "", "grammar": "snu", "label": "with ...;...", "matches": { "with": true }, "options": { "head": true } }, { "content": "package ${1} is\n\t${0}\nend $1;", "doc": "", "grammar": "snu", "label": "package {NAME} is {...} end", "matches": { "package": true }, "options": { "head": true } }, { "content": "package body ${1} is\n\t${0}\nend $1;", "doc": "", "grammar": "snu", "label": "package body {NAME} is {...} end", "matches": { "package_body": true }, "options": { "head": true } }, { "content": "entry ${1}(${2}) when ${3} is\nbegin\n\t${0}\nend $1;", "doc": "", "grammar": "snu", "label": "entry {...} when", "matches": { "entry": true }, "options": { "head": true } }, { "content": "task ${1} is\n\tentry ${0}\nend $1;", "doc": "", "grammar": "snu", "label": "", "matches": { "task": true }, "options": { "head": true } }, { "content": "task body ${1} is\n\t${2}\nbegin\n\t${0}\nend $1;", "doc": "", "grammar": "snu", "label": "task body", "matches": { "task_body": true }, "options": { "head": true } }, { "content": "accept ${1}(${2}) do\n\t${0}\nend $1;", "doc": "", "grammar": "snu", "label": "", "matches": { "accept": true }, "options": { "head": true } }, { "content": "protected type ${1}(${2}) is\n\t${0}\nend $1;", "doc": "", "grammar": "snu", "label": "protected type", "matches": { "protected_type": true }, "options": { "head": true } }, { "content": "protected body ${1} is\n\t${2}\nbegin\n\t${0}\nend $1;", "doc": "", "grammar": "snu", "label": "protected body", "matches": { "protected_body": true }, "options": { "head": true } }, { "content": "generic\n\ttype ${1} is ${2};${0}", "doc": "", "grammar": "snu", "label": "generic type", "matches": { "generic": true }, "options": { "head": true } }, { "content": "type ${1} is ${2};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "type": true }, "options": { "head": true } }, { "content": "type ${1} is ${2}\n\twith Default_Value => ${3};${0}", "doc": "", "grammar": "snu", "label": "type with default value", "matches": { "type_default": true }, "options": { "head": true } }, { "content": "subtype ${1} is ${2};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "subtype": true }, "options": { "head": true } }, { "content": "declare\n\t${1}\nbegin\n\t${0}\nend;", "doc": "", "grammar": "snu", "label": "declare block", "matches": { "declare": true }, "options": { "head": true } }, { "content": "${1}:\ndeclare\n\t${2}\nbegin\n\t${0}\nend $1;", "doc": "", "grammar": "snu", "label": "declare named block", "matches": { "declare_named": true }, "options": { "head": true } }, { "content": "if ${1} then ${2} else ${0}", "doc": "", "grammar": "snu", "label": "if expression", "matches": { "ife": true }, "options": { "head": true } }, { "content": "case ${1} is\n\twhen ${2} => ${3},${0}", "doc": "", "grammar": "snu", "label": "case expression", "matches": { "case_expression": true }, "options": { "head": true } }, { "content": "for all ${1} ${2:in} ${3} => ${0}", "doc": "", "grammar": "snu", "label": "for all", "matches": { "for_all": true }, "options": { "head": true } }, { "content": "for some ${1} ${2:in} ${3} => ${0}", "doc": "", "grammar": "snu", "label": "for some", "matches": { "for_some": true }, "options": { "head": true } }, { "content": "if ${1} then\n\t${0}\nend if;", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": { "head": true } }, { "content": "if ${1} then\n\t${2}\nelse\n\t${0}\nend if;", "doc": "", "grammar": "snu", "label": "if ... else", "matches": { "ifelse": true }, "options": { "head": true } }, { "content": "else\n\t${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "else": true }, "options": { "head": true } }, { "content": "elsif ${1} then\n\t${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "ei": true, "elseif": true }, "options": { "head": true } }, { "content": "while ${1} loop\n\t${0}\nend loop;", "doc": "", "grammar": "snu", "label": "", "matches": { "w": true, "while": true }, "options": { "head": true } }, { "content": "${1}:\nwhile ${2} loop\n\t${0}\nend loop $1;", "doc": "", "grammar": "snu", "label": "named while", "matches": { "named_while": true }, "options": { "head": true } }, { "content": "for ${1:I} in ${2} loop\n\t${0}\nend loop;", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": { "head": true } }, { "content": "for ${1} of ${2} loop\n\t${0}\nend loop;", "doc": "", "grammar": "snu", "label": "for each", "matches": { "for_each": true }, "options": { "head": true } }, { "content": "${1}:\nfor ${2:I} in ${3} loop\n\t${0}\nend loop $1;", "doc": "", "grammar": "snu", "label": "named for", "matches": { "named_for": true }, "options": { "head": true } }, { "content": "${1}:\nfor ${2} of ${3} loop\n\t${0}\nend loop $1;", "doc": "", "grammar": "snu", "label": "named for each", "matches": { "named_for_each": true }, "options": { "head": true } }, { "content": "procedure ${1}(${2}) is\n\t${3}\nbegin\n\t${0}\nend $1;", "doc": "", "grammar": "snu", "label": "", "matches": { "procedure": true }, "options": { "head": true } }, { "content": "procedure ${1};${0}", "doc": "", "grammar": "snu", "label": "procedure declaration", "matches": { "procedure_declare": true }, "options": { "head": true } }, { "content": "function ${1}(${2}) return ${3} is\n\t${4}\nbegin\n\t${0}\nend $1;", "doc": "", "grammar": "snu", "label": "", "matches": { "function": true }, "options": { "head": true } }, { "content": "function ${1} return ${2} is\n\t(${3});${0}", "doc": "", "grammar": "snu", "label": "expression function", "matches": { "function_expr": true }, "options": { "head": true } }, { "content": "function ${1} return ${2};${0}", "doc": "", "grammar": "snu", "label": "function declaration", "matches": { "function_declare": true }, "options": { "head": true } }, { "content": "return ${1} do\n\t${0}\nend return;", "doc": "", "grammar": "snu", "label": "extended return", "matches": { "return": true }, "options": { "head": true } }, { "content": "record\n\t${0}\nend record;", "doc": "", "grammar": "snu", "label": "", "matches": { "record": true }, "options": { "head": true } }, { "content": "case ${1} is\n\twhen ${2} => ${3};${0}\nend case;", "doc": "", "grammar": "snu", "label": "", "matches": { "case": true }, "options": { "head": true } }, { "content": "when ${1} => ${2};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "when": true }, "options": { "head": true } }, { "content": "when others => ${1};${0}", "doc": "", "grammar": "snu", "label": "when others", "matches": { "when_others": true }, "options": { "head": true } }, { "content": "loop\n\t${0}\nend loop;", "doc": "", "grammar": "snu", "label": "", "matches": { "loop": true }, "options": { "head": true } }, { "content": "${1}:\nloop\n\t${0}\nend loop $1;", "doc": "", "grammar": "snu", "label": "named loop", "matches": { "named_loop": true }, "options": { "head": true } }, { "content": "exit when ${1};\n${0}", "doc": "", "grammar": "snu", "label": "exit when", "matches": { "exit_when": true }, "options": { "head": true } }, { "content": "Ada.Text_IO.Put(${1});\n${0}", "doc": "", "grammar": "snu", "label": "Ada.Text_IO.Put", "matches": { "put": true }, "options": { "head": true } }, { "content": "Ada.Text_IO.Put_Line(${1});\n${0}", "doc": "", "grammar": "snu", "label": "Ada.Text_IO.Put_Line", "matches": { "put_line": true }, "options": { "head": true } }, { "content": "Ada.Text_IO.Get(${1});\n${0}", "doc": "", "grammar": "snu", "label": "Ada.Text_IO.Get", "matches": { "get": true }, "options": { "head": true } }, { "content": "Ada.Text_IO.Get_Line(${1});\n${0}", "doc": "", "grammar": "snu", "label": "Ada.Text_IO.Get_Line", "matches": { "get_line": true }, "options": { "head": true } }, { "content": "Ada.Text_IO.New_Line(${1:1});\n${0}", "doc": "", "grammar": "snu", "label": "Ada.Text_IO.New_Line", "matches": { "newline": true }, "options": { "head": true } } ], "apache": [ { "content": "AllowOverride ${1:#:AuthConfig} ${2:#:FileInfo} ${3:#:Indexes} ${4:#:Limit} ${5:#:Options}", "doc": "", "grammar": "snu", "label": "", "matches": { "allow": true }, "options": {} }, { "content": "Options ${1:#:All} ${2:#:ExecCGI} ${3:#:FollowSymLinks} ${4:#:Includes} ${5:#:IncludesNOEXEC} ${6:#:Indexes} ${7:#:MultiViews} ${8:#:SymLinksIfOwnerMatch}", "doc": "", "grammar": "snu", "label": "", "matches": { "opt": true }, "options": {} }, { "content": "\n\tServerAdmin webmaster@${1}\n\tDocumentRoot /www/vhosts/${1}\n\tServerName ${1}\n\tErrorLog logs/${1}-error_log\n\tCustomLog logs/${1}-access_log common\n", "doc": "", "grammar": "snu", "label": "", "matches": { "vhost": true }, "options": {} }, { "content": "\n\t${0}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "dir": true }, "options": {} }, { "content": "\n ${2}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "ifmodule": true }, "options": {} }, { "content": "\n ${2}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": {} }, { "content": "RemoteIPHeader X-Forwarded-For", "doc": "", "grammar": "snu", "label": "", "matches": { "RemoteIPHeader": true }, "options": {} }, { "content": "\n ${2:config}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "location": true }, "options": {} }, { "content": "\n ${2:config}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "locationmatch": true }, "options": {} }, { "content": "DirectoryIndex index.php index.html", "doc": "", "grammar": "snu", "label": "", "matches": { "directoryindex": true }, "options": {} }, { "content": "Require all granted", "doc": "", "grammar": "snu", "label": "", "matches": { "require": true }, "options": {} } ], "applescript": [ { "content": "script ${1:#:new_object}\n\ton run\n\t\t${2:TARGET}\n\tend run\nend script", "doc": "", "grammar": "snu", "label": "", "matches": { "script": true }, "options": {} }, { "content": "on ${1:#:functionName}(${2:#:arguments})\n\t${3:TARGET}\nend ${1}", "doc": "", "grammar": "snu", "label": "", "matches": { "on": true }, "options": {} }, { "content": "tell ${1:#:app}\n\t${0:TARGET}\nend tell", "doc": "", "grammar": "snu", "label": "", "matches": { "tell": true }, "options": {} }, { "content": "using terms from ${1:#:app}\n\t${0:TARGET}\nend using terms from", "doc": "", "grammar": "snu", "label": "", "matches": { "terms": true }, "options": {} }, { "content": "if ${1:true} then\n\t${0:TARGET}\nend if", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": {} }, { "content": "repeat ${1} times}\n\t${0:TARGET}\nend repeat", "doc": "", "grammar": "snu", "label": "rep", "matches": { "rept": true }, "options": {} }, { "content": "repeat while ${1:#:condition}\n\t${0:TARGET}\nend repeat", "doc": "", "grammar": "snu", "label": "rep", "matches": { "repwh": true }, "options": {} }, { "content": "repeat with ${1} in ${2}\n\t${0:TARGET}\nend repeat", "doc": "", "grammar": "snu", "label": "rep", "matches": { "repwi": true }, "options": {} }, { "content": "try\n\t${0:TARGET}\non error\n\t-- error handling\nend try", "doc": "", "grammar": "snu", "label": "", "matches": { "try": true }, "options": {} }, { "content": "with timeout ${1:#:number} seconds\n\t${0:TARGET}\nend timeout", "doc": "", "grammar": "snu", "label": "", "matches": { "timeout": true }, "options": {} }, { "content": "considering ${1:#:case}\n\t${0:TARGET}\nend considering", "doc": "", "grammar": "snu", "label": "", "matches": { "con": true }, "options": {} }, { "content": "ignoring ${1:#:application responses}\n\t${0:TARGET}\nend ignoring", "doc": "", "grammar": "snu", "label": "", "matches": { "ign": true }, "options": {} }, { "content": "${1:#:set shell_stdout to }do shell script ${3:\"${2:#script}\"}\n\twithout altering line endings\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "shell": true }, "options": {} }, { "content": "set oldDelims to AppleScript's text item delimiters\nset AppleScript's text item delimiters to {\"${1:,}\"}\n${0:#:TARGET}\nset AppleScript's text item delimiters to oldDelims", "doc": "", "grammar": "snu", "label": "", "matches": { "delim": true }, "options": {} }, { "content": "prop parent : app \"${1}\"", "doc": "", "grammar": "snu", "label": "", "matches": { "parent": true }, "options": {} }, { "content": "display alert \"${1:#:alert text}\"\n\t${2:#:message} \"${3:#:message text}\"\n\t${4:#:as warning}", "doc": "", "grammar": "snu", "label": "", "matches": { "alert": true }, "options": {} }, { "content": "display dialog \"${1:#:text}\"\n\t${2:#:with icon} ${3:1}\n\tbuttons {\"${4:OK}\"} default button 1", "doc": "", "grammar": "snu", "label": "dialog", "matches": { "dialog_OK": true }, "options": {} }, { "content": "display dialog \"${1:#:text}\"\n\t${2:#:with icon}\n\tbuttons {\"${3:Cancel}\", \"${4:OK}\"}\n\tdefault button \"${4}\"\nset button_pressed to button returned of result\nif button_pressed is \"${4}\" then\n\t${5:#:TARGET}\nelse\n\t-- action for cancel button goes here\nend if", "doc": "", "grammar": "snu", "label": "dialog", "matches": { "dialog_OK/Cancel": true }, "options": {} }, { "content": "display dialog \"${1:#:text}\"\n\t${2:#:with icon}\n\tbuttons {\"${3:Cancel}\", \"${4:Other Choice}\", \"${5:OK}\"}\n\tdefault button \"${5}\"\nset button_pressed to button returned of result\nif button_pressed is \"${5}\" then\n\t${6:TARGET}\nelse if button_pressed is \"${3}\" then\n\t-- action for cancel button goes here\nelse\n\t-- action for other button goes here\nend if", "doc": "", "grammar": "snu", "label": "dialog", "matches": { "dialog_OK/Cancel/Other": true }, "options": {} }, { "content": "set the_result to display dialog \"${1:#:text}\"\n\tdefault answer \"${2:#:type here}\"\n\t${3:#:with icon}\n\tbuttons {\"${4:Cancel}\", \"${5:OK}\"}\n\tdefault button \"${5}\"\nset button_pressed to button returned of the_result\nset text_typed to text returned of the_result\nif button_pressed is \"${5}\" then\n\t${6:#:TARGET}\nelse\n\t-- action for cancel button goes here\nend if", "doc": "", "grammar": "snu", "label": "dialog", "matches": { "dialog_TextFierld": true }, "options": {} }, { "content": "${1:#:set the_application to }choose application with prompt \"${2:#:Choose an application:}\"${3:#:with multiple selections allowed}", "doc": "", "grammar": "snu", "label": "choose", "matches": { "choose_Applications": true }, "options": {} }, { "content": "${1:#:set the_file to }choose file with prompt \"${2:#:Pick a file:}\"\n${3:#:default location path to home folder}\n${4:#:with invisibles}\n${5:#:with multiple selections allowed}\n${6:#:with showing package contents}", "doc": "", "grammar": "snu", "label": "choose", "matches": { "choose_Files": true }, "options": {} }, { "content": "${1:#:set the_folder to }choose folder with prompt \"${2:#:Pick a folder:}\"\n${3:#:default location path to home folder}\n${4:#:with invisibles}\n${5:#:with multiple selections allowed}\n${6:#:with showing package contents}\n${0}", "doc": "", "grammar": "snu", "label": "choose", "matches": { "choose_Folders": true }, "options": {} }, { "content": "${1:#:set the_filename to }choose file name with prompt \"${2:#:Name this file:}\"\n\tdefault name \"${3:untitled}\" default location ${4:#:path to home folder}", "doc": "", "grammar": "snu", "label": "choose", "matches": { "choose_NewFile": true }, "options": {} }, { "content": "${1:#:set the_url to }choose URL showing ${2:Web} servers with editable URL", "doc": "", "grammar": "snu", "label": "choose", "matches": { "choose_URL": true }, "options": {} }, { "content": "${1:#:set the_color to }choose color default color ${2:{65536, 65536, 65536\\}}", "doc": "", "grammar": "snu", "label": "choose", "matches": { "choose_Color": true }, "options": {} }, { "content": "set the_choice to choose from list ${1}\"\\}}", "doc": "", "grammar": "snu", "label": "choose", "matches": { "choose_ItemFromList": true }, "options": {} } ], "asciidoc": [ { "content": "= ${1:Document Name}\n${2:Alice }\n${3:Revision line}\n:toc:\n:imagesdir: img/\n:homepage: https://www.example.com\n:icons: font\n:data-uri:\n${0}", "doc": "", "grammar": "snu", "label": "Start a new document", "matches": { "doc": true, "title": true }, "options": { "head": true } }, { "content": "[source,${1:language}]\n----\n${0}\n----", "doc": "", "grammar": "snu", "label": "source code block --- source ---", "matches": { "block-source": true, "source": true }, "options": { "head": true } }, { "content": "[quote, ${1:Name}, ${2:Occasion}}]\n____\n${0}\n____", "doc": "", "grammar": "snu", "label": "quote block --- text ---", "matches": { "block-quote": true, "quote": true }, "options": { "head": true } }, { "content": "....\n${0}\n....", "doc": "", "grammar": "snu", "label": "literal block ... text ...", "matches": { "block-literal": true, "literalblock": true }, "options": { "head": true } }, { "content": "*${1}*${0}", "doc": "", "grammar": "snu", "label": "*bold*", "matches": { "bold": true }, "options": { "word": true } }, { "content": "_${1}_${0}", "doc": "", "grammar": "snu", "label": "_italic_", "matches": { "italic": true }, "options": { "word": true } }, { "content": "+${1}+${0}", "doc": "", "grammar": "snu", "label": "+verbatim+", "matches": { "verb": true }, "options": { "word": true } }, { "content": "== ${1:Title}\n${0}", "doc": "", "grammar": "snu", "label": "== heading on level 2", "matches": { "heading": true, "section": true }, "options": { "head": true } }, { "content": "[#${2:Id}]\n== ${1:Title}\n${0}", "doc": "", "grammar": "snu", "label": "== heading on level 2 with anchor", "matches": { "heading-anchor": true, "section-anchor": true }, "options": { "head": true } }, { "content": "include::${1:example.doc}[]${0}", "doc": "", "grammar": "snu", "label": "include::example.doc", "matches": { "inc": true }, "options": { "head": true } }, { "content": "'''\n${0}", "doc": "", "grammar": "snu", "label": "horizontal rule", "matches": { "hrule": true }, "options": { "head": true } }, { "content": "<<<\n${0}", "doc": "", "grammar": "snu", "label": "page break", "matches": { "pagebreak": true }, "options": { "head": true } }, { "content": "${1:definiendum}::\n${2:definiens}", "doc": "", "grammar": "snu", "label": "definition", "matches": { "def": true }, "options": { "head": true } }, { "content": "[cols=\"${1}\", options=\"header\"]\n|===\n|${2:row1-col1}\n${0}\n|===", "doc": "", "grammar": "snu", "label": "table", "matches": { "table": true }, "options": { "head": true } }, { "content": "[%header,format=csv]\n|===\n${0}\n|===", "doc": "", "grammar": "snu", "label": "CSV table", "matches": { "csvtable": true, "tablecsv": true }, "options": { "head": true } }, { "content": "${1:https://www.example.org}[${2:Text}]${0}", "doc": "", "grammar": "snu", "label": "External link", "matches": { "extlink": true, "link": true }, "options": { "word": true } }, { "content": "link:${1:/example.pdf}[${2:Text}]${0}", "doc": "", "grammar": "snu", "label": "Relative link", "matches": { "linkrel": true }, "options": { "word": true } }, { "content": "mailto:${1:alice@example.com}[${2:Alice}]${0}", "doc": "", "grammar": "snu", "label": "mailto link", "matches": { "mailto": true }, "options": { "word": true } }, { "content": "[[${1:id}]]${0}", "doc": "", "grammar": "snu", "label": "[[id]] text", "matches": { "anchor": true }, "options": { "word": true } }, { "content": "[#${1:Id}] ${0}", "doc": "", "grammar": "snu", "label": "[#anchor] #text#, itemize, ...", "matches": { "anchorblock": true, "block-anchor": true }, "options": { "head": true } }, { "content": "<<${1:id}>>${0}", "doc": "", "grammar": "snu", "label": "reference to anchor", "matches": { "ref": true }, "options": { "word": true } }, { "content": "image::${1:example.jpg}[${2:Description}]\n${0}", "doc": "", "grammar": "snu", "label": "image::file[desc]", "matches": { "image": true }, "options": { "head": true } }, { "content": "image::${1:example.jpg}[${2:Description},align=\"center\"]\n${0}", "doc": "", "grammar": "snu", "label": "Centered image::file[desc]", "matches": { "imagecenter": true }, "options": { "head": true } }, { "content": "image:${1:example.jpg}[${2:Description}]${0}", "doc": "", "grammar": "snu", "label": "Inline image:file[desc]", "matches": { "imageinline": true }, "options": { "word": true } }, { "content": ".footnote:[${1:footnotetext}]${0}", "doc": "", "grammar": "snu", "label": "footnote", "matches": { "footnote": true }, "options": { "word": true } }, { "content": "[bibliography]\n== References\n- [[${1:id}]] ${2:Entry}\n${0}", "doc": "", "grammar": "snu", "label": "bibliography", "matches": { "bib": true }, "options": { "head": true } } ], "asciidoctor": [ { "content": ":source-highlighter: rouge$0", "doc": "", "grammar": "snu", "label": "source-highlighter: rouge", "matches": { "highlight-rouge": true, "hirouge": true }, "options": { "head": true } }, { "content": ":source-highlighter: pygments$0", "doc": "", "grammar": "snu", "label": "source-highlighter: pygments", "matches": { "highlight-pygments": true, "hipygments": true }, "options": { "head": true } }, { "content": ":source-highlighter: highlight.js$0", "doc": "", "grammar": "snu", "label": "source-highlighter: highlight.js", "matches": { "highlight-highlight.js": true, "hihighlight.js": true }, "options": { "head": true } } ], "asm": [ { "content": ";;\n;; @brief ${1:function description}\n;;\n;; @details ${2:detailed description}\n;;\n;; @param ${3:param}\n;;\n;; @return ${4:return}\n;;", "doc": "", "grammar": "snu", "label": ";; @brief ...", "matches": { "doxy": true }, "options": { "head": true } } ], "beancount": [ { "content": "${1:YYYY}-${2:MM}-${3:DD} open ${4:Account} ${8:#:Commodity}", "doc": "", "grammar": "snu", "label": "open account", "matches": { "open": true }, "options": { "head": true } }, { "content": "${1:YYYY}-${2:MM}-${3:DD} close ${4:#:Account}", "doc": "", "grammar": "snu", "label": "close account", "matches": { "close": true }, "options": { "head": true } }, { "content": "${1:YYYY}-${2:MM}-${3:DD} commodity ${4:Commodity}", "doc": "", "grammar": "snu", "label": "declare commodity", "matches": { "commodity": true, "currency": true }, "options": { "head": true } }, { "content": "${1:YYYY}-${2:MM}-${3:DD} * \"${5:Payee}\" \"${6:Narration}\"\n\t${9:Account} ${10:Amount} ${11:Commodity}\n\t${14:Account} ${15:#:Amount} ${16:#:Commodity}", "doc": "", "grammar": "snu", "label": "transaction", "matches": { "transaction": true }, "options": { "head": true } }, { "content": "${1:YYYY}-${2:MM}-${3:DD} balance ${4:Account} ${5:Amount} ${6:#:Commodity}", "doc": "", "grammar": "snu", "label": "balance", "matches": { "balance": true }, "options": { "head": true } }, { "content": "${1:YYYY}-${2:MM}-${3:DD} pad ${4:BalanceAccount} ${5:PadAccount}", "doc": "", "grammar": "snu", "label": "pad", "matches": { "pad": true }, "options": { "head": true } } ], "bib": [ { "content": "@article{${1:LABEL},\n author = {${2}},\n title = {${3}},\n journal = {${4}},\n year = {${5}},\n memo = {volume, number, pages, month, note}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@article": true, "article": true }, "options": {} }, { "content": "@book{${1:LABEL},\n author/editor = {${2}},\n title = {${3}},\n publisher = {${4}},\n year = {${5}},\n memo = {volume, series, address, edition, month, note},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@book": true, "book": true }, "options": {} }, { "content": "@booklet{${1:LABEL},\n title = {${2}},\n memo = {author, howpublished, address, month, year, note},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@booklet": true, "booklet": true }, "options": {} }, { "content": "@inbook{${1:LABEL},\n author/editor = {${2}},\n title = {${3}},\n chapter/pages = {${4}},\n publisher = {${5}},\n year = {${6}},\n memo = {volume, series, address, edition, month, note},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@inbook": true, "inbook": true }, "options": {} }, { "content": "@incollection{${1:LABEL},\n author = {${2}},\n title = {${3}},\n booktitle = {${4}},\n year = {${5}},\n memo = {editor, pages, organization, publisher, address, month, note},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@incollection": true, "incollection": true }, "options": {} }, { "content": "@inproceedings{${1:LABEL},\n author = {${2}},\n title = {${3}},\n booktitle = {${4}},\n year = {${5}},\n memo = {editor, volume, number, series, pages, address, month,\n organization, publisher, note}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@inproceedings @conference conference": true, "inproceedings": true }, "options": {} }, { "content": "@manual{${1:LABEL},\n title = {${2}},\n memo = {author, organization, address, edition, month, year, note},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@manual": true, "manual": true }, "options": {} }, { "content": "@mastersthesis{${1:LABEL},\n author = {${2}},\n title = {${3}},\n school = {${4}},\n year = {${5}},\n memo = {address, month, note},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@mastersthesis": true, "mastersthesis": true }, "options": {} }, { "content": "@misc{${1:LABEL},\n memo = {author, title, howpublished, month, year, note},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@misc": true, "misc": true }, "options": {} }, { "content": "@online{${1:LABEL},\n author = {${2}},\n title = {${3}},\n url = {${4}},\n note = {year/date},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@online": true, "online": true }, "options": {} }, { "content": "@phdthesis{${1:LABEL},\n author = {${2}},\n title = {${3}},\n school = {${4}},\n year = {${5}},\n memo = {address, month, note},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@phdthesis": true, "phdthesis": true }, "options": {} }, { "content": "@proceedings{${1:LABEL},\n title = {${2}},\n year = {${3}},\n memo = {editor, publisher, organization, address, month, note},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@proceedings": true, "proceedings": true }, "options": {} }, { "content": "@techreport{${1:LABEL},\n author = {${2}},\n title = {${3}},\n institution = {${4}},\n year = {${5}},\n memo = {type, number, address, month, note},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@techreport": true, "techreport": true }, "options": {} }, { "content": "@unpublished{${1:LABEL},\n author = {${2}},\n title = {${3}},\n note = {${4}},\n memo = {month, year},\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "@unpublished": true, "unpublished": true }, "options": {} }, { "content": "address = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "address": true }, "options": {} }, { "content": "annote = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "annote": true }, "options": {} }, { "content": "author = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "author": true }, "options": {} }, { "content": "booktitle = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "booktitle": true }, "options": {} }, { "content": "crossref = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "crossref": true }, "options": {} }, { "content": "chapter = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "chapter": true }, "options": {} }, { "content": "edition = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "edition": true }, "options": {} }, { "content": "editor = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "editor": true }, "options": {} }, { "content": "eprint = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "eprint": true }, "options": {} }, { "content": "howpublished = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "howpublished": true }, "options": {} }, { "content": "institution = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "institution": true }, "options": {} }, { "content": "journal = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "journal": true }, "options": {} }, { "content": "key = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "key": true }, "options": {} }, { "content": "month = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "month": true }, "options": {} }, { "content": "note = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "note": true }, "options": {} }, { "content": "number = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "number": true }, "options": {} }, { "content": "organization = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "organization": true }, "options": {} }, { "content": "pages = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "pages": true }, "options": {} }, { "content": "publisher = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "publisher": true }, "options": {} }, { "content": "school = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "school": true }, "options": {} }, { "content": "series = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "series": true }, "options": {} }, { "content": "title = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "title": true }, "options": {} }, { "content": "type = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "type": true }, "options": {} }, { "content": "url = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "url": true }, "options": {} }, { "content": "volume = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "volume": true }, "options": {} }, { "content": "year = {${1}},\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "year": true }, "options": {} } ], "blade": [ { "content": "@yield('${1}')", "doc": "", "grammar": "snu", "label": "@yield", "matches": { "yl": true }, "options": {} }, { "content": "@extends('${1}')", "doc": "", "grammar": "snu", "label": "@extends", "matches": { "ext": true }, "options": {} }, { "content": "@section('${1}', '${2}')", "doc": "", "grammar": "snu", "label": "@section", "matches": { "sec": true }, "options": {} }, { "content": "@section('${1:section name}')\n ${2}\n@endsection", "doc": "", "grammar": "snu", "label": "@section ... @endsection", "matches": { "section": true }, "options": {} }, { "content": "@section('${1:section name}')\n @parent\n ${2}\n@endsection", "doc": "", "grammar": "snu", "label": "@section @parent ... @endsection", "matches": { "section-parent": true }, "options": {} }, { "content": "@component('${1}')\n ${2}\n@endcomponent", "doc": "", "grammar": "snu", "label": "@component ... @endcomponent", "matches": { "compo": true }, "options": {} }, { "content": "@slot('${1}')\n ${2}\n@endslot", "doc": "", "grammar": "snu", "label": "@slot ... @endslot", "matches": { "slot": true }, "options": {} }, { "content": "@if(${1:condition})\n ${2}\n@endif", "doc": "", "grammar": "snu", "label": "if ... endif", "matches": { "if": true }, "options": {} }, { "content": "@if (${1:condition})\n ${2}\n@elseif (${3:condition})\n ${4}\n@else\n ${5}\n@endif", "doc": "", "grammar": "snu", "label": "if elseif else endif", "matches": { "ifelse": true }, "options": {} }, { "content": "@unless (${1:condition})\n ${2}\n@endunless", "doc": "", "grammar": "snu", "label": "@unless ... @endunless", "matches": { "unless": true }, "options": {} }, { "content": "@isset(${1})\n ${2}\n@endisset", "doc": "", "grammar": "snu", "label": "@isset ... @endisset", "matches": { "isset": true }, "options": {} }, { "content": "@empty(${1})\n ${2}\n@endempty", "doc": "", "grammar": "snu", "label": "@empty ... @endempty", "matches": { "empty": true }, "options": {} }, { "content": "@for ($i = 0; $i < ${1}; $i++)\n ${2}\n@endfor", "doc": "", "grammar": "snu", "label": "@for ... @endfor", "matches": { "for": true }, "options": {} }, { "content": "@foreach (${1} as ${2})\n ${3}\n@endforeach", "doc": "", "grammar": "snu", "label": "@foreach ... @endforeach", "matches": { "foreach": true }, "options": {} }, { "content": "@forelse (${1} as ${2})\n ${3}\n@empty\n ${4}\n@endforelse", "doc": "", "grammar": "snu", "label": "@forelse ... @empty ... @endforeach", "matches": { "forelse": true }, "options": {} }, { "content": "@while (${1})\n ${2}\n@endwhile", "doc": "", "grammar": "snu", "label": "@while ... @endwhile", "matches": { "while": true }, "options": {} }, { "content": "{{-- ${1} --}}", "doc": "", "grammar": "snu", "label": "{{-- comments --}}", "matches": { "comment": true }, "options": {} }, { "content": "@php\n ${1}\n@endphp", "doc": "", "grammar": "snu", "label": "@php ... @endphp", "matches": { "php": true }, "options": {} }, { "content": "@include('${1}')", "doc": "", "grammar": "snu", "label": "@include", "matches": { "include": true }, "options": {} } ], "c": [ { "content": "if (${1:#:condition}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "if () {}", "matches": { "if": true }, "options": { "head": true } }, { "content": "else {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "else {}", "matches": { "else": true }, "options": {} }, { "content": "else if (${1:#:condition}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "else () {}", "matches": { "elseif": true }, "options": {} }, { "content": "if (${1:#:condition}) {\n ${2:TARGET}\n} else {\n ${3}\n}", "doc": "", "grammar": "snu", "label": "if () {} else {}", "matches": { "ifelse": true }, "options": { "head": true } }, { "content": "for (${1:int} ${2:i} = ${3:0}; $2 < ${4}; $2++) {\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "for () {}", "matches": { "for": true }, "options": { "head": true } }, { "content": "for (int ${1:i} = 0; $1 < ${2}; $1++) {\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "for (int x;...; x++) {}", "matches": { "fori": true }, "options": { "head": true } }, { "content": "for (int ${1:i} = ${2}; $1 >= 0; $1--) {\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "for (int x; ...; x--) {}", "matches": { "forri": true }, "options": { "head": true } }, { "content": "while (${1:#:condition}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "while () {}", "matches": { "while": true }, "options": { "head": true } }, { "content": "do {\n ${0:TARGET:code}\n} while (${1:#:condition});", "doc": "", "grammar": "snu", "label": "", "matches": { "do": true, "do_while": true }, "options": { "head": true } }, { "content": "switch (${1:#:var}) {\n\tcase ${2:#:val}:\n\t\t${0:TARGET}\n\t\tbreak;\n}", "doc": "", "grammar": "snu", "label": "switch () {}", "matches": { "switch": true }, "options": { "head": true } }, { "content": "case ${1}:\n\t${0}\n\tbreak;", "doc": "", "grammar": "snu", "label": "case: break;", "matches": { "case": true }, "options": { "head": true } }, { "content": "(${1:#:condition}) ? ${2:#:a} : ${3:#:b}", "doc": "", "grammar": "snu", "label": "", "matches": { "conditional": true }, "options": {} }, { "content": "${1:void} ${2:#:func_name}(${3:void}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "func() {}", "matches": { "func": true, "function": true }, "options": { "head": true } }, { "content": "struct ${1:#:name} {\n ${0:TARGET:data}\n};", "doc": "", "grammar": "snu", "label": "struct {}", "matches": { "struct": true }, "options": { "head": true } }, { "content": "typedef struct ${1:#:name} {\n ${0:TARGET:data}\n};", "doc": "", "grammar": "snu", "label": "", "matches": { "struct_typedef": true }, "options": { "head": true } }, { "content": "enum ${1:#:name} {\n ${0:TARGET}\n};", "doc": "", "grammar": "snu", "label": "enum {}", "matches": { "enum": true }, "options": { "head": true } }, { "content": "int main(int argc, char* argv[])\n{\n\t${0:TARGET}\n\treturn 0;\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "main": true }, "options": { "head": true } }, { "content": "#include \nint main(int argc, char* argv[])\n{\n puts(\"hello, world!\");\n return 0;\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "helloworld": true }, "options": { "head": true } }, { "content": "#include <${1:stdio}.h>", "doc": "", "grammar": "snu", "label": "", "matches": { "#inc, #include": true, "inc": true }, "options": { "head": true } }, { "content": "#include \"${1}.h\"", "doc": "", "grammar": "snu", "label": "", "matches": { "#inc2, #include2": true, "inc2": true }, "options": { "head": true } }, { "content": "#if ${1}\n${0}\n#endif", "doc": "", "grammar": "snu", "label": "", "matches": { "#if": true }, "options": { "head": true } }, { "content": "#ifdef ${1:#:SYMBOL}\n${0}\n#endif", "doc": "", "grammar": "snu", "label": "#ifdef ... #endif", "matches": { "#ifdef": true, "ifdef": true }, "options": { "head": true } }, { "content": "#ifndef $1\n#define ${1:#:SYMBOL}\n#endif${0}", "doc": "", "grammar": "snu", "label": "#ifndef ... #define ... #endif", "matches": { "#ifndef": true, "ifndef": true }, "options": { "head": true } }, { "content": "#define ${1}", "doc": "", "grammar": "snu", "label": "", "matches": { "#def, #define": true, "def": true }, "options": { "head": true } }, { "content": "#ifndef ${1:#:SYMBOL}\n #define $1\n ${0:TARGET}\n#endif /* end of include guard */", "doc": "", "grammar": "snu", "label": "#ifndef ... #define ... #endif", "matches": { "include-guard": true, "once": true }, "options": { "head": true } }, { "content": "printf(\"${1}\\n\"${2});", "doc": "", "grammar": "snu", "label": "printf(\"...\\n\", ...);", "matches": { "printf": true }, "options": {} }, { "content": "scanf(\"${1}\", ${2});", "doc": "", "grammar": "snu", "label": "scanf(\"...\", ...);", "matches": { "scanf": true }, "options": {} }, { "content": "fprintf(${1:stderr}, \"${2}\\n\"${3});", "doc": "", "grammar": "snu", "label": "fprintf(..., \"...\\n\", ...);", "matches": { "fprintf": true }, "options": {} }, { "content": "fopen(\"${1:PATH}\", \"${2:MODE}\");\n${0:TARGET}\nfclose(${3:FD});", "doc": "", "grammar": "snu", "label": "fopen(\"...\", \"...\");", "matches": { "fopen": true }, "options": {} }, { "content": "fgets(${0:ROW}, ${1:LENGTH}, ${2:stdin});", "doc": "", "grammar": "snu", "label": "fgets(row, length, file);", "matches": { "fgets": true }, "options": {} }, { "content": "fscanf(${1:stdin}, \"${2}\", ${3});", "doc": "", "grammar": "snu", "label": "fscanf(file, \"...\", ...);", "matches": { "fscanf": true }, "options": {} }, { "content": "fwrite(${1:ARRAY}, sizeof(${2:TYPE}), ${3:N_MEMBERS}, ${4:FILE})", "doc": "", "grammar": "snu", "label": "fwrite(......, file)", "matches": { "fwrite": true }, "options": {} }, { "content": "fread(${1:ARRAY}, sizeof(${2:TYPE}), ${3:N_MEMBERS}, ${4:FILE})", "doc": "", "grammar": "snu", "label": "fread(......, file)", "matches": { "fread": true }, "options": {} }, { "content": "memcpy(${1:DEST}, ${2:SRC}, ${3:NBYTES})", "doc": "", "grammar": "snu", "label": "memcpy(dest, src, nbytes)", "matches": { "memcpy": true }, "options": {} }, { "content": "($2 *)malloc(${1:N_MEMBERS} * sizeof(${2:TYPE}));\n${0}\nfree(${3:MEM});", "doc": "", "grammar": "snu", "label": "malloc(size)", "matches": { "malloc": true }, "options": {} }, { "content": "($2 *)calloc(${1:N_MEMBERS}, sizeof(${2:TYPE}));\n${0}\nfree(${3:MEM});", "doc": "", "grammar": "snu", "label": "calloc(n, size)", "matches": { "calloc": true }, "options": {} }, { "content": "($3 *)realloc(${1:OLD}, ${2:N_MEMBERS} * sizeof(${3:TYPE}));\n${0}", "doc": "", "grammar": "snu", "label": "realloc(old, size)", "matches": { "realloc": true }, "options": {} }, { "content": "srand(time(NULL));", "doc": "", "grammar": "snu", "label": "", "matches": { "seed_rand": true }, "options": {} }, { "content": "typedef ${1:#:base_type} ${2:#:custom_type};", "doc": "", "grammar": "snu", "label": "", "matches": { "typedef": true }, "options": {} }, { "content": "sizeof(${0:TARGET})", "doc": "", "grammar": "snu", "label": "", "matches": { "size": true, "sizeof": true }, "options": {} }, { "content": "(sizeof(${1:#:array}) / sizeof(*($1)))", "doc": "", "grammar": "snu", "label": "", "matches": { "array_size": true, "sizeof_array": true }, "options": {} }, { "content": "_Static_assert(${1:#:condition}, ${2:#:message});", "doc": "", "grammar": "snu", "label": "", "matches": { "_Static_assert": true, "_static_assert": true }, "options": { "head": true } }, { "content": "static_assert(${1:#:condition}, ${2:#:message});", "doc": "", "grammar": "snu", "label": "", "matches": { "static_assert": true }, "options": { "head": true } }, { "content": "_Generic(${1:#:expression}, ${2:#:association-list})", "doc": "", "grammar": "snu", "label": "", "matches": { "_Generic": true, "generic, select": true }, "options": {} }, { "content": "va_list ${1:ap};\nva_start($1, ${2:LAST_ARG});\n${0}\nva_end($1);", "doc": "", "grammar": "snu", "label": "va_start(va_list, last_arg); ... ; va_end()", "matches": { "va_list": true }, "options": { "head": true } }, { "content": "/* ${1:#:comment} */\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "/*": true, "comment": true }, "options": {} }, { "content": "/**\n * @brief ${1:function description}\n *\n * @details ${2:detailed description}\n *\n * @param ${3:param}\n *\n * @return ${4:return type}\n */", "doc": "", "grammar": "snu", "label": "/** @brief ...", "matches": { "doxy": true }, "options": { "head": true } } ], "clojure": [ { "content": "(defn ${1:name}\n\t\"${2:doc}\"\n\t[${3}]\n\t${0})", "doc": "", "grammar": "snu", "label": "defn function \"...\" [...] ...", "matches": { "defn-doc": true }, "options": { "head": true } }, { "content": "(try\n\t${1}\n\t(catch ${2:Exception} e ${3:nil}))", "doc": "", "grammar": "snu", "label": "(try ... (catch ...", "matches": { "try": true }, "options": {} }, { "content": "(dosync\n\t(ref-set ${1:ref} ${2:value}))", "doc": "", "grammar": "snu", "label": "(dosync (ref-set ...", "matches": { "ref-set": true }, "options": { "head": true } }, { "content": "(binding [*out* *err*]\n (println ${0:TARGET}))", "doc": "", "grammar": "snu", "label": "", "matches": { "warn": true }, "options": { "head": true } }, { "content": "(defrecord ${1:record} [${2:constructor-args}]\n ${3:protocol} (${3:method} [${5}] ${6}))", "doc": "", "grammar": "snu", "label": "", "matches": { "defrecord": true }, "options": { "head": true } }, { "content": "(defrecord ${1:type} [${2:constructor-args}]\n ${3:protocol} (${3:method} [${5}] ${6}))", "doc": "", "grammar": "snu", "label": "", "matches": { "deftype": true }, "options": { "head": true } }, { "content": "(ns ${1:example}\n (:require [clojure.core.match :as m]))\n; vim: set lispwords+=m/match :", "doc": "", "grammar": "snu", "label": "", "matches": { "require-core-match": true }, "options": { "head": true } }, { "content": "(deftest ${1:a}-test\n (testing \"${2:hello}\"\n ${0:TARGET:(is (= 0 1))}))", "doc": "", "grammar": "snu", "label": "", "matches": { "deftest": true }, "options": { "head": true } }, { "content": "(:require [clojure.core.strint :refer (<<)])", "doc": "", "grammar": "snu", "label": "", "matches": { "use-strint-in-ns": true }, "options": { "head": true } }, { "content": "[org.clojars.hozumi/clj-glob \"0.1.2\"]\n(:require [org.satta.glob :as g])\n(g/glob \"${0:TARGET}\")", "doc": "", "grammar": "snu", "label": "", "matches": { "dir-glob": true }, "options": { "head": true } }, { "content": "(Thread/sleep ${1})", "doc": "", "grammar": "snu", "label": "", "matches": { "sleep": true }, "options": {} }, { "content": "(defproject ${1:aaa} \"0.1-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"https://github.com/${2}\"\n :license {:name \"GNU GPL v3+\"\n :url \"http://www.gnu.org/licenses/gpl-3.0.en.html\"}\n :dependencies [[org.clojure/clojure \"1.7.0\"]]\n :main ^:skip-aot ${3:aaa.core}\n :target-path \"target/%s\"\n :min-lein-version \"2.3.0\")", "doc": "", "grammar": "snu", "label": "", "matches": { "defproejct": true }, "options": { "head": true } }, { "content": "(let [bench-before (System/currentTimeMillis)]\n ${1:TARGET}\n (prn 'Took (- (System/currentTimeMillis) bench-before) 'msec))", "doc": "", "grammar": "snu", "label": "", "matches": { "bench": true }, "options": {} }, { "content": "@#'", "doc": "", "grammar": "snu", "label": "", "matches": { "private": true }, "options": { "word": true } }, { "content": "(:members (clojure.reflect/refrect ${1}))", "doc": "", "grammar": "snu", "label": "", "matches": { "java-methods": true }, "options": { "head": true } } ], "cmake": [ { "content": "project(${1:project_name})\nset(${2:PROJECT}_VERSION_MAJOR 0)\nset($2_VERSION_MINOR 0)\nset($2_VERSION_TEENY 1)\nset(PACKAGE_VERSION \"${$2_VERSION_MAJOR}.${$2_VERSION_MINOR}.${$2_VERSION_TEENY}\")\ncmake_minimum_required(VERSION ${3:2.8})\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "new_project": true }, "options": { "head": true } }, { "content": "if(${1:#:condition})\n\t${0}\nendif()", "doc": "", "grammar": "snu", "label": "if() endif()", "matches": { "if": true }, "options": { "head": true } }, { "content": "if(${1:#:condition})\n\t${2}\nelse()\n\t${3}\nendif()", "doc": "", "grammar": "snu", "label": "if() else() endif()", "matches": { "if_else": true }, "options": { "head": true } }, { "content": "foreach(${1:item} ${2:items})\n\t${3}\nendforeach($1)", "doc": "", "grammar": "snu", "label": "foreach() endforeach()", "matches": { "foreach": true }, "options": { "head": true } }, { "content": "macro(${1:name} ${2:args})\n\t${3}\nendmacro($1)", "doc": "", "grammar": "snu", "label": "macro() endmacro()", "matches": { "macro": true }, "options": { "head": true } }, { "content": "function(${1:name} ${2:args})\n\t${3}\nendfunction($1)", "doc": "", "grammar": "snu", "label": "function() endfunction()", "matches": { "function": true }, "options": { "head": true } }, { "content": "message(\"${1}\")", "doc": "", "grammar": "snu", "label": "message(\"...\")", "matches": { "message": true }, "options": { "head": true } }, { "content": "message(STATUS \"${1}\")", "doc": "", "grammar": "snu", "label": "message(STATUS \"...\")", "matches": { "status_message": true }, "options": { "head": true } }, { "content": "message(WARNING \"${1}\")", "doc": "", "grammar": "snu", "label": "message(WARNING \"...\")", "matches": { "warning_message": true }, "options": { "head": true } }, { "content": "message(AUTHOR_WARNING \"${1}\")", "doc": "", "grammar": "snu", "label": "message(AUTHOR_WARNING \"...\")", "matches": { "author_warning_message": true }, "options": { "head": true } }, { "content": "message(SEND_ERROR \"${1}\")", "doc": "", "grammar": "snu", "label": "message(SEND_ERROR \"...\")", "matches": { "send_error_message": true }, "options": { "head": true } }, { "content": "message(FATAL_ERROR \"${1}\")", "doc": "", "grammar": "snu", "label": "message(FATAL_ERROR \"...\")", "matches": { "fatal_error_message": true }, "options": { "head": true } }, { "content": "while(${1:#:condition})\n\t${2}\nendwhile()", "doc": "", "grammar": "snu", "label": "while() endwhile()", "matches": { "while": true }, "options": { "head": true } }, { "content": "file(GLOB_RECURSE ${1:#:var} ${2:#:glob_paths})", "doc": "", "grammar": "snu", "label": "file(GLOB_RECURSE ...)", "matches": { "file_GLOBE_RECURSE": true }, "options": { "head": true } } ], "coffee": [ { "content": "${1:#:object} = require('$1')", "doc": "", "grammar": "snu", "label": "", "matches": { "req": true }, "options": {} }, { "content": "console.log ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "log": true }, "options": {} }, { "content": "${1:#:action} unless ${2:#:condition}", "doc": "", "grammar": "snu", "label": "", "matches": { "unl": true }, "options": {} }, { "content": "try\n ${1:TARGET}\ncatch ${2:#:error}\n ${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "try": true }, "options": {} }, { "content": "if ${1:#:condition}\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": {} }, { "content": "else if ${1:#:condition}\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "elif": true }, "options": {} }, { "content": "if ${1:#:condition} then ${2:#:value} else ${3:#:other}", "doc": "", "grammar": "snu", "label": "", "matches": { "ifte": true }, "options": {} }, { "content": "if ${1:#:condition}\n ${2:TARGET}\nelse\n ${3:#:body...}", "doc": "", "grammar": "snu", "label": "", "matches": { "ife": true }, "options": {} }, { "content": "switch ${1:#:object}\n when ${2:#:value}\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "swi": true }, "options": {} }, { "content": "for ${1:#:key}, ${2:#:value} of ${3:#:object}\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "foro": true }, "options": {} }, { "content": "for ${1:#:name} in ${2:#:array}\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "fora": true }, "options": {} }, { "content": "${1:#:name} = (${2:#:args}) ->\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "fun": true }, "options": {} }, { "content": "(${1:#:args}) =>\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "bfun": true }, "options": {} } ], "cpp": [ { "content": "#include <${1:iostream}>${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "#inc, #include": true, "inc": true }, "options": { "head": true } }, { "content": "#include \"${1}\"${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "#inc2, #include2": true, "inc2": true }, "options": { "head": true } }, { "content": "template ${0}", "doc": "", "grammar": "snu", "label": "template ", "matches": { "template": true }, "options": {} }, { "content": "class ${1:#:name} {\n ${2}\npublic:\n $1(${3});\n};\n$1::$1($3) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "class {}", "matches": { "class": true }, "options": { "head": true } }, { "content": "class ${1:#:name} {\n ${2}\n};", "doc": "", "grammar": "snu", "label": "class {}", "matches": { "class-without-constructor": true }, "options": { "head": true } }, { "content": "try {\n ${1:#:TARGET}\n} catch (${2:...}) {\n ${3}\n}", "doc": "", "grammar": "snu", "label": "try catch", "matches": { "try": true }, "options": { "head": true } }, { "content": "for (${1:auto&& }${2:var} : ${3:container}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "for (:) {}", "matches": { "for_CPP11": true }, "options": { "head": true } }, { "content": "[${1}](${2})${3}{ ${4:TARGET} }${0:;}", "doc": "", "grammar": "snu", "label": "[](){}", "matches": { "lambda": true }, "options": {} }, { "content": "enum struct ${1:#:name} { ${2:#:TARGET} };", "doc": "", "grammar": "snu", "label": "enum struct {};", "matches": { "enum_scoped": true }, "options": { "head": true } }, { "content": "static_assert( ${1}, \"${2}\" );${0}", "doc": "", "grammar": "snu", "label": "static_assert(,\"\")", "matches": { "static_assert": true }, "options": {} }, { "content": "namespace ${1:#:name} {\n ${0:TARGET}\n} // namespace $1", "doc": "", "grammar": "snu", "label": "namespace {}", "matches": { "namespace": true }, "options": { "head": true } }, { "content": "static_cast<${1}>(${2})${0}", "doc": "", "grammar": "snu", "label": "static_cast<>()", "matches": { "static_cast": true }, "options": {} }, { "content": "reinterpret_cast<${1}>(${2})${0}", "doc": "", "grammar": "snu", "label": "reinterpret_cast<>()", "matches": { "reinterpret_cast": true }, "options": {} }, { "content": "const_cast<${1}>(${2})${0}", "doc": "", "grammar": "snu", "label": "const_cast<>()", "matches": { "const_cast": true }, "options": {} }, { "content": "dynamic_cast<${1}>(${2})${0}", "doc": "", "grammar": "snu", "label": "dynamic_cast<>()", "matches": { "dynamic_cast": true }, "options": {} }, { "content": "#include \nint main(int argc, char* argv[])\n{\n std::cout << \"hello, world!\" << std::endl;\n return 0;\n}", "doc": "", "grammar": "snu", "label": "#include int main...", "matches": { "helloworld": true }, "options": {} }, { "content": "std::cout << ${0:TARGET} << std::endl;", "doc": "", "grammar": "snu", "label": "", "matches": { "p": true }, "options": { "head": true } } ], "cs": [ { "content": "namespace ${1:#:Name} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "namespace {}", "matches": { "name": true, "namespace": true }, "options": { "head": true } }, { "content": "class ${1:#:Name} ${2::} ${3:Parent}${4:,} ${5:Interface} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "class {}", "matches": { "class": true }, "options": {} }, { "content": "struct ${1:#:Name} ${2::} ${3:Interface} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "struct {}", "matches": { "struct": true }, "options": {} }, { "content": "interface ${1:#:IName} ${2::} ${3:Parent} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "interface {}", "matches": { "interface": true }, "options": {} }, { "content": "${1:void} ${2:#:Method}(${3:#:arguments}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "method": true }, "options": {} }, { "content": "enum ${1:#:Name} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "enum {}", "matches": { "enum": true }, "options": {} }, { "content": "delegate ${1:void} ${2:#:Delegate}(${3:#:arguments});${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "delegate": true }, "options": {} }, { "content": "${1:int} ${2:#:Name} { get${3:;} ${4:#:private }set${5:;} }${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "prop": true, "property": true }, "options": {} }, { "content": "get {${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "get {}", "matches": { "get": true }, "options": {} }, { "content": "set {${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "set {}", "matches": { "set": true }, "options": {} }, { "content": "#define ${0:#:SYMBOL}", "doc": "", "grammar": "snu", "label": "", "matches": { "def": true, "define": true }, "options": { "head": true } }, { "content": "#undef ${0:#:SYMBOL}", "doc": "", "grammar": "snu", "label": "", "matches": { "und": true, "undef": true }, "options": { "head": true } }, { "content": "#if ${1:SYMBOL}\n ${0:TARGET}\n#endif", "doc": "", "grammar": "snu", "label": "", "matches": { "ifdef": true }, "options": { "head": true } }, { "content": "#warning ${0:#:message}", "doc": "", "grammar": "snu", "label": "", "matches": { "warn": true, "warning": true }, "options": { "head": true } }, { "content": "#error ${0:#:message}", "doc": "", "grammar": "snu", "label": "", "matches": { "err": true, "error": true }, "options": { "head": true } }, { "content": "#line ${0:#:number}", "doc": "", "grammar": "snu", "label": "", "matches": { "line": true }, "options": { "head": true } }, { "content": "#region ${1:#:name}\n ${0:TARGET}\n#endregion", "doc": "", "grammar": "snu", "label": "", "matches": { "reg": true, "region": true }, "options": { "head": true } }, { "content": "#pragma warning ${2:disable} ${3:#:errno}", "doc": "", "grammar": "snu", "label": "", "matches": { "pragma pragma_warn": true, "pragma_warning": true }, "options": { "head": true } }, { "content": "if (${1:#:condition}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "if () {}", "matches": { "if": true }, "options": {} }, { "content": "else if (${1:#:condition}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "else if () {}", "matches": { "elif": true, "elseif": true }, "options": {} }, { "content": "if (${1:#:condition}) {\n ${2:TARGET}\n} else {\n ${3:TARGET}\n}", "doc": "", "grammar": "snu", "label": "if () {} else {}", "matches": { "ifel": true, "ifelse": true }, "options": {} }, { "content": "while (${1:#:condition}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "while () {}", "matches": { "while": true }, "options": {} }, { "content": "do {\n ${0:TARGET}\n} while (${1:#:condition});", "doc": "", "grammar": "snu", "label": "do {} while() {}", "matches": { "do_while": true, "dowhile": true }, "options": {} }, { "content": "for (${1:#:var}; ${2:#:condition}; ${3:#:effect}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "for () {}", "matches": { "for": true }, "options": {} }, { "content": "foreach (${1:#:var} in ${2:#:iter}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "foreach () {}", "matches": { "fore": true, "foreach": true }, "options": {} }, { "content": "switch (${1:#:var}) {\ncase ${2:#:val}:\n ${0:TARGET}\n break;\n}", "doc": "", "grammar": "snu", "label": "switch () {}", "matches": { "switch": true }, "options": {} }, { "content": "case ${1:#:val}:\n ${0:TARGET}\n break;", "doc": "", "grammar": "snu", "label": "", "matches": { "case": true }, "options": { "head": true } }, { "content": "break;", "doc": "", "grammar": "snu", "label": "", "matches": { "break": true }, "options": { "head": true } }, { "content": "goto case ${1:#:Val};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "goto": true }, "options": { "head": true } }, { "content": "default:\n ${0:TARGET}\n break;", "doc": "", "grammar": "snu", "label": "", "matches": { "default": true }, "options": { "head": true } }, { "content": "try {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "try_n": true, "try_without_catch_nor_finally": true }, "options": { "head": true } }, { "content": "try {\n ${0:TARGET}\n} catch (${1:Exception} ${2:e}) {\n ${3:Console.WriteLine(e.Message);}\n}", "doc": "", "grammar": "snu", "label": "try {} catch () {}", "matches": { "try": true, "try_catch": true }, "options": { "head": true } }, { "content": "try {\n ${0:TARGET}\n} catch {\n ${1}\n}", "doc": "", "grammar": "snu", "label": "try {} catch {}", "matches": { "try_catch_n": true, "try_cn": true }, "options": { "head": true } }, { "content": "try {\n ${0:TARGET}\n} catch (${1:Exception} ${2:e}) {\n ${3:Console.WriteLine(e.Message);}\n} finally {\n ${4}\n}", "doc": "", "grammar": "snu", "label": "try {} catch () {} finally {}", "matches": { "try_catch_finally": true, "try_cf": true }, "options": { "head": true } }, { "content": "try {\n ${0:TARGET}\n} finally {\n ${1}\n}", "doc": "", "grammar": "snu", "label": "try {} finally {}", "matches": { "try_f": true, "try_finally": true }, "options": { "head": true } }, { "content": "try {\n ${0:TARGET}\n} catch {\n ${1}\n} finally {\n ${2}\n}", "doc": "", "grammar": "snu", "label": "try {} catch {} finally {}", "matches": { "try_catch_n_finally": true, "try_cnf": true }, "options": { "head": true } }, { "content": "catch (${1:Exception} ${2:e}) {\n ${0:Console.WriteLine(e.Message);}\n}", "doc": "", "grammar": "snu", "label": "catch () {}", "matches": { "catch": true }, "options": {} }, { "content": "catch {\n ${0}\n}", "doc": "", "grammar": "snu", "label": "catch {}", "matches": { "catch_n": true }, "options": {} }, { "content": "finally {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "finally {}", "matches": { "fin": true, "finally": true }, "options": {} }, { "content": "throw ${0:#:exception}", "doc": "", "grammar": "snu", "label": "", "matches": { "throw": true }, "options": { "head": true } }, { "content": "lock (${1:#:resource}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "lock () {}", "matches": { "lock": true }, "options": { "head": true } }, { "content": "using (${1:#:resource}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "using () {}", "matches": { "using resource": true, "using_resource": true }, "options": { "head": true } }, { "content": "checked (${1:#:var}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "checked () {}", "matches": { "checked": true }, "options": { "head": true } }, { "content": "unchecked (${1:#:var}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "unchecked () {}", "matches": { "unchecked": true }, "options": { "head": true } }, { "content": "unsafe {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "unsafe {}", "matches": { "unsafe": true }, "options": { "head": true } }, { "content": "fixed (${1:#:type}* ${2:#:var} = ${3:#:adress}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "fixed () {}", "matches": { "fixed": true }, "options": { "head": true } }, { "content": "using ${1:#:path};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "import": true, "using_import": true }, "options": { "head": true } }, { "content": "using ${1:Name} = ${2:Type};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "typedef": true, "using_typedef": true }, "options": { "head": true } }, { "content": "System.Linq", "doc": "", "grammar": "snu", "label": "", "matches": { "s.l": true }, "options": {} }, { "content": "System.Collections.Generic", "doc": "", "grammar": "snu", "label": "", "matches": { "s.c.g": true }, "options": {} }, { "content": "System.Text", "doc": "", "grammar": "snu", "label": "", "matches": { "s.t": true }, "options": {} }, { "content": "System.IO", "doc": "", "grammar": "snu", "label": "", "matches": { "s.i": true }, "options": {} }, { "content": "System.Diagnostics", "doc": "", "grammar": "snu", "label": "", "matches": { "s.d": true }, "options": {} }, { "content": "System.Runtie.CompilerServices", "doc": "", "grammar": "snu", "label": "", "matches": { "s.r.c": true }, "options": {} }, { "content": "System.Windows.Forms", "doc": "", "grammar": "snu", "label": "", "matches": { "s.w.f": true }, "options": {} }, { "content": "[SerializableAttribute]", "doc": "", "grammar": "snu", "label": "", "matches": { "serial": true, "serializable": true }, "options": { "head": true } }, { "content": "[Conditional(\"${1:#:SYMBOL}\")]${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "cond": true, "conditional": true }, "options": { "head": true } }, { "content": "[Obsolete(\"${1:#:description}\")]${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "obs dep deprecated": true, "obsolete": true }, "options": { "head": true } }, { "content": "[assembly: InternalsVisibleTo(\"${1:#:FriendName}\")]${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "asm_internals_visible_to": true, "internals asmInternalsVisibleTo friend_attr": true }, "options": { "head": true } }, { "content": "${1:#:text}", "doc": "", "grammar": "snu", "label": "", "matches": { "c": true }, "options": {} }, { "content": "${0:#:content}", "doc": "", "grammar": "snu", "label": "", "matches": { "code": true }, "options": {} }, { "content": "${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "example": true }, "options": {} }, { "content": "${2:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "exception": true }, "options": {} }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "include": true }, "options": {} }, { "content": "${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "param": true }, "options": {} }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "paramref": true }, "options": {} }, { "content": "${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "returns": true }, "options": {} }, { "content": "${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "remarks": true }, "options": {} }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "see": true }, "options": {} }, { "content": "}", "doc": "", "grammar": "snu", "label": "", "matches": { "seealso": true }, "options": {} }, { "content": "${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "summary": true }, "options": {} }, { "content": "${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "typeparam": true }, "options": {} }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "typeparamref": true }, "options": {} }, { "content": "${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "value": true }, "options": {} }, { "content": "public static void Main(string[] args) {\n ${0}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "main": true }, "options": { "head": true } }, { "content": "Console.WriteLine(${1:#:message});${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "println p": true, "writeline": true }, "options": { "head": true } }, { "content": "Console.Write(${1:#:message});${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "print": true, "write": true }, "options": { "head": true } }, { "content": "public class ${1:Hello} {\n public static void Main(string[] args) {\n System.Console.WriteLine(\"Hello, world!\");\n }\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "helloworld": true }, "options": { "head": true } }, { "content": "[TestFixture]\npublic class ${1}Test {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "tc": true, "testclass": true }, "options": { "head": true } }, { "content": "[SetUp]\npublic void SetUp() {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "testsetup": true, "tsu": true }, "options": { "head": true } }, { "content": "[TearDown]\npublic void TearDown() {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "testteardown": true, "ttd": true }, "options": { "head": true } }, { "content": "[Test]\npublic void ${1:#:Name}Test() {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "test": true }, "options": { "head": true } }, { "content": "[Category(\"${0:#:category}\")]", "doc": "", "grammar": "snu", "label": "", "matches": { "category": true }, "options": { "head": true } } ], "css": [ { "content": "background: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "background": true, "bg": true }, "options": {} }, { "content": "background-attachment: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "ba": true, "backattachment": true }, "options": {} }, { "content": "background-color: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "backcolor": true, "bc": true }, "options": {} }, { "content": "background-image: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "backimage": true, "bi": true }, "options": {} }, { "content": "background-position: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "backposition": true, "bp": true }, "options": {} }, { "content": "background-repeat: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "backrepeat": true, "br": true }, "options": {} }, { "content": "border: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "b": true, "border": true }, "options": {} }, { "content": "border-style: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "border-style": true, "bs": true }, "options": {} }, { "content": "border-color: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "bc": true, "border-color": true }, "options": {} }, { "content": "border-width: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "border-width": true, "bw": true }, "options": {} }, { "content": "border-bottom-width: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "bbw": true, "border-bottom-width": true }, "options": {} }, { "content": "border-top-width: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "border-top-width": true, "btw": true }, "options": {} }, { "content": "border-left-width: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "blw": true, "border-left-width": true }, "options": {} }, { "content": "border-right-width: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "border-right-width": true, "brw": true }, "options": {} }, { "content": "border-bottom-style: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "bbs": true, "border-bottom-style": true }, "options": {} }, { "content": "border-top-style: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "border-top-style": true, "bts": true }, "options": {} }, { "content": "border-left-style: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "bls": true, "border-left-style": true }, "options": {} }, { "content": "border-right-style: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "border-right-style": true, "brs": true }, "options": {} }, { "content": "border-bottom-color: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "bbc": true, "border-bottom-color": true }, "options": {} }, { "content": "border-top-color: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "border-top-color": true, "btc": true }, "options": {} }, { "content": "border-left-color: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "blc": true, "border-left-color": true }, "options": {} }, { "content": "border-right-color: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "border-right-color": true, "brc": true }, "options": {} }, { "content": "outline: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "ol": true, "outline": true }, "options": {} }, { "content": "outline-color: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "oc": true, "outline-color": true }, "options": {} }, { "content": "outline-style: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "os": true, "outline-style": true }, "options": {} }, { "content": "outline-width: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "outline-width": true, "ow": true }, "options": {} }, { "content": "color: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "c": true, "color": true }, "options": {} }, { "content": "direction: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "d": true, "direction": true }, "options": {} }, { "content": "letter-spacing: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "letter-spacing": true, "ls": true }, "options": {} }, { "content": "line-height: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "lh": true, "line-height": true }, "options": {} }, { "content": "text-align: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "ta": true, "text-align": true }, "options": {} }, { "content": "text-decoration: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "td": true, "text-decoration": true }, "options": {} }, { "content": "text-indent: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "text-indent": true, "ti": true }, "options": {} }, { "content": "text-transform: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "text-transform": true, "tt": true }, "options": {} }, { "content": "unicode-bidi: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "ub": true, "unicode-bidi": true }, "options": {} }, { "content": "white-space: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "white-space": true, "ws": true }, "options": {} }, { "content": "word-spacing: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "word-spacing": true, "ws": true }, "options": {} }, { "content": "font: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "f": true, "font": true }, "options": {} }, { "content": "font-family: ${1:\"Times New Roman\",Georgia,Serif};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "ff": true, "font-family": true }, "options": {} }, { "content": "font-size: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "font-size": true, "fs": true }, "options": {} }, { "content": "font-style: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "font-style": true, "fs": true }, "options": {} }, { "content": "font-weight: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "font-weight": true, "fw": true }, "options": {} }, { "content": "margin: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "m": true, "margin": true }, "options": {} }, { "content": "margin-bottom: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "margin-bottom": true, "mb": true }, "options": {} }, { "content": "margin-top: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "margin-top": true, "mt": true }, "options": {} }, { "content": "margin-left: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "margin-left": true, "ml": true }, "options": {} }, { "content": "margin-right: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "margin-right": true, "mr": true }, "options": {} }, { "content": "padding: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "p": true, "padding": true }, "options": {} }, { "content": "padding-bottom: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "padding-bottom": true, "pb": true }, "options": {} }, { "content": "padding-top: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "padding-top": true, "pt": true }, "options": {} }, { "content": "padding-left: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "padding-left": true, "pl": true }, "options": {} }, { "content": "padding-right: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "padding-right": true, "pr": true }, "options": {} }, { "content": "list-style: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "list-style": true, "ls": true }, "options": {} }, { "content": "list-style-image: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "list-style-image": true, "lsi": true }, "options": {} }, { "content": "list-style-position: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "list-style-position": true, "lsp": true }, "options": {} }, { "content": "list-style-type: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "list-style-type": true, "lst": true }, "options": {} }, { "content": "content: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "c": true, "content": true }, "options": {} }, { "content": "height: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "h": true, "height": true }, "options": {} }, { "content": "max-height: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "mah": true, "max-height": true }, "options": {} }, { "content": "max-width: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "maw": true, "max-width": true }, "options": {} }, { "content": "min-height: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "mih": true, "min-height": true }, "options": {} }, { "content": "min-width: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "min-width": true, "miw": true }, "options": {} }, { "content": "width: ${1};${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "w": true, "width": true }, "options": {} }, { "content": "@media ${1:condition} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "@media ...", "matches": { "media": true }, "options": { "head": true } }, { "content": "@media ${1:all} and (min-width: ${2:SIZE}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "@media all and (min-width) {...}", "matches": { "media-min-width": true }, "options": { "head": true } }, { "content": "@media ${1:all} and (max-width: ${2:SIZE}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "@media all and (max-width) {...}", "matches": { "media-max-width": true }, "options": { "head": true } } ], "cuda": [], "d": [ { "content": "foreach (${1:#:var}; ${2:#:list}) {\n ${3:TARGET}\n}", "doc": "", "grammar": "snu", "label": "foreach() {}", "matches": { "foreach": true }, "options": {} }, { "content": "class ${1:#:name} {\n ${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "class {}", "matches": { "class": true }, "options": {} }, { "content": "struct ${1:#:name} {\n ${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "struct {}", "matches": { "struct": true }, "options": {} }, { "content": "enum ${1:#:name} {\n ${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "enum {}", "matches": { "enum": true }, "options": {} } ], "elixir": [ { "content": "do\n ${1:TARGET}\nend", "doc": "", "grammar": "snu", "label": "do...end", "matches": { "do": true }, "options": { "head": true } }, { "content": "if ${1:true} do\n ${2:TARGET}\nend", "doc": "", "grammar": "snu", "label": "if .. do .. end", "matches": { "if": true }, "options": { "head": true } }, { "content": "if ${1:true} do\n ${2:ok}\nelse\n ${3:ok}\nend", "doc": "", "grammar": "snu", "label": "if .. do .. else .. end", "matches": { "ife": true }, "options": { "head": true } }, { "content": "case ${1} do\n ${2} -> ${3}\nend", "doc": "", "grammar": "snu", "label": "case .. end", "matches": { "case": true }, "options": { "head": true } }, { "content": "def ${1:name} do\n ${2:TARGET}\nend", "doc": "", "grammar": "snu", "label": "def .. do .. end", "matches": { "def": true }, "options": { "head": true } }, { "content": "defmodule ${1:module_name} do\n ${2:TARGET}\nend", "doc": "", "grammar": "snu", "label": "def module", "matches": { "defm": true }, "options": { "head": true } }, { "content": "defp ${1:name} do\n ${2:TARGET}\nend", "doc": "", "grammar": "snu", "label": "defp .. end", "matches": { "defp": true }, "options": { "head": true } }, { "content": "@doc \"\"\"${0:TARGET}\"\"\"", "doc": "", "grammar": "snu", "label": "@doc \"\"\"...\"\"\"", "matches": { "doc": true }, "options": { "head": true } }, { "content": "@moduledoc \"\"\"${0:TARGET}\"\"\"", "doc": "", "grammar": "snu", "label": "@moduledoc \"\"\"...\"\"\"", "matches": { "mdoc": true }, "options": { "head": true } }, { "content": "fn(${1:args}) -> ${2:TARGET} end", "doc": "", "grammar": "snu", "label": "fn(..) -> .. end", "matches": { "fn": true }, "options": { "head": true } }, { "content": "receive do\n${1} -> ${2}\nend", "doc": "", "grammar": "snu", "label": "receive .. do .. end", "matches": { "rec": true }, "options": { "head": true } }, { "content": "test \"${1:test_name}\" do\n ${2:TARGET}\nend", "doc": "", "grammar": "snu", "label": "test .. do .. end", "matches": { "test": true }, "options": { "head": true } }, { "content": "try do\n ${1:TARGET}\nrescue\n ${2} -> ${3}", "doc": "", "grammar": "snu", "label": "try .. rescue .. end", "matches": { "try": true }, "options": { "head": true } }, { "content": "with ${1}\ndo\n ${2:TARGET}\nend", "doc": "", "grammar": "snu", "label": "with .. do .. end", "matches": { "with": true }, "options": { "head": true } }, { "content": "describe \"${1:describe_name}\" do\n ${2:TARGET}\nend", "doc": "", "grammar": "snu", "label": "describe .. do .. end", "matches": { "describe": true }, "options": { "head": true } }, { "content": "IO.puts(${1})", "doc": "", "grammar": "snu", "label": "", "matches": { "puts": true }, "options": {} }, { "content": "IO.inspect(${1})", "doc": "", "grammar": "snu", "label": "IO.inspect()", "matches": { "p": true }, "options": {} }, { "content": "defmodule Main do\n def main do\n ${1:TARGET}\n end\nend\nMain.main", "doc": "", "grammar": "snu", "label": "", "matches": { "main": true }, "options": { "head": true } } ], "elm": [ { "content": "import ${1:String}\n${0}", "doc": "", "grammar": "snu", "label": "import", "matches": { "imp": true, "import": true }, "options": { "head": true } }, { "content": "import ${1} as ${2}\n${0}", "doc": "", "grammar": "snu", "label": "import ... as ...", "matches": { "impa": true, "importAs": true }, "options": { "head": true } }, { "content": "import ${1:Html} exposing (${2:..})\n${0}", "doc": "", "grammar": "snu", "label": "import ... exposing (..)", "matches": { "impe": true, "importExposing": true }, "options": { "head": true } }, { "content": "import ${1:Html} as ${2} exposing (${2:..})\n${0}", "doc": "", "grammar": "snu", "label": "import ... as ... exposing (..)", "matches": { "impae": true, "importAsExposing": true }, "options": { "head": true } }, { "content": "main : Program Never ${2:Model} ${3:Msg}\nmain =\n\t${4:Html.}program\n\t\t{ init: ${6:( model, Cmd.none )}\n\t\t, update: ${7:update}\n\t\t, subscriptions: ${8:subscriptions}\n\t\t${9:, view: ${10:view\\}}\n\t\t}\n${0}", "doc": "", "grammar": "snu", "label": "main : Program", "matches": { "main": true, "prog": true }, "options": { "head": true } }, { "content": "main : Program ${1:Flags} ${2:Model} ${3:Msg}\nmain =\n\t${4:Html.}programWithFlags\n\t\t{ init: ${6:initWithFlags}\n\t\t, update: ${7:update}\n\t\t, subscriptions: ${8:subscriptions}\n\t\t${9:, view: ${10:view\\}}\n\t\t}\n${0}", "doc": "", "grammar": "snu", "label": "main : Program", "matches": { "progf mainf": true, "programWithFlags": true }, "options": { "head": true } }, { "content": "main : Program Never ${2:Model} ${3:Msg}\nmain =\n\t${4:Html.}beginnerProgram\n\t\t{ init: ${6:init}\n\t\t, update: ${7:update}\n\t\t, subscriptions: ${8:subscriptions}\n\t\t${9:, view: ${10:view\\}}\n\t\t}\n${0}", "doc": "", "grammar": "snu", "label": "main : Program", "matches": { "basicProgram": true, "progb mainb": true }, "options": { "head": true } }, { "content": "case ${1:#:expression} of\n\t${2:#:value} ->\n\t\t${3:TARGET}", "doc": "", "grammar": "snu", "label": "case ... of", "matches": { "case": true }, "options": {} }, { "content": "if ${1:#:condition} then\n\t${2}\nelse\n\t${3}", "doc": "", "grammar": "snu", "label": "if ... then ... else ...", "matches": { "if": true }, "options": {} }, { "content": "let\n\t${1} =\n\t\t${2}\nin\n\t${0}", "doc": "", "grammar": "snu", "label": "let ... in ...", "matches": { "let": true }, "options": { "head": true } }, { "content": "\\\\${1:x} -> ${0}", "doc": "", "grammar": "snu", "label": "λ", "matches": { "lambda": true }, "options": {} } ], "erlang": [ { "content": "main(_) -> io:format(\"Hello, world!\\n\").", "doc": "", "grammar": "snu", "label": "", "matches": { "helloworld": true }, "options": { "head": true } }, { "content": "-module(${0:module}).", "doc": "", "grammar": "snu", "label": "", "matches": { "-module": true }, "options": { "head": true } }, { "content": "-export([${0:f/1}]).", "doc": "", "grammar": "snu", "label": "", "matches": { "-export": true }, "options": { "head": true } }, { "content": "io:format(\"${1:~w~n}\"${2:, []})", "doc": "", "grammar": "snu", "label": "", "matches": { "ioformat": true }, "options": { "word": true } }, { "content": "main(_) -> ${0}.", "doc": "", "grammar": "snu", "label": "", "matches": { "main": true }, "options": { "head": true } }, { "content": "case ${0:TARGET} of\n ${1}\nend", "doc": "", "grammar": "snu", "label": "case", "matches": { "case": true }, "options": { "head": true } }, { "content": "<<\"${0:TARGET}\">>", "doc": "", "grammar": "snu", "label": "<<\"...\">>", "matches": { "bs": true }, "options": {} } ], "eruby": [ { "content": "<%= ${1:TARGET} %>${2}", "doc": "", "grammar": "snu", "label": "<%= %>", "matches": { "ruby_print": true }, "options": { "word": true } }, { "content": "<% ${1:TARGET} %>${2}", "doc": "", "grammar": "snu", "label": "<% %>", "matches": { "ruby_code": true }, "options": { "word": true } }, { "content": "<%= ${1:TARGET} -%>${2}", "doc": "", "grammar": "snu", "label": "<%= -%>", "matches": { "ruby_print_nonl": true }, "options": { "word": true } }, { "content": "<% ${1:TARGET} -%>${2}", "doc": "", "grammar": "snu", "label": "<% -%>", "matches": { "ruby_code_nonl": true }, "options": { "word": true } }, { "content": "<%# ${1:TARGET} %>${2}", "doc": "", "grammar": "snu", "label": "<%# %>", "matches": { "comment": true }, "options": { "word": true } } ], "fortran": [ { "content": "program ${1:main}\n\t${2}\nend program $1", "doc": "", "grammar": "snu", "label": "program", "matches": { "pr": true }, "options": { "head": true } }, { "content": "function ${1:}(${2})\n\t${3}\nend function $1", "doc": "", "grammar": "snu", "label": "function", "matches": { "fu": true }, "options": { "head": true } }, { "content": "integer, parameter :: ", "doc": "", "grammar": "snu", "label": "integer parameter", "matches": { "inp": true }, "options": { "head": true } }, { "content": "integer :: ", "doc": "", "grammar": "snu", "label": "integer", "matches": { "in": true }, "options": { "head": true } }, { "content": "integer, intent(in) :: ", "doc": "", "grammar": "snu", "label": "integer intent(in)", "matches": { "ini": true }, "options": { "head": true } }, { "content": "integer, intent(out) :: ", "doc": "", "grammar": "snu", "label": "integer intent(out)", "matches": { "ino": true }, "options": { "head": true } }, { "content": "real, parameter :: ", "doc": "", "grammar": "snu", "label": "real parameter", "matches": { "rep": true }, "options": { "head": true } }, { "content": "real :: ", "doc": "", "grammar": "snu", "label": "real", "matches": { "re": true }, "options": { "head": true } }, { "content": "real, intent(in) :: ", "doc": "", "grammar": "snu", "label": "real intent(in)", "matches": { "rei": true }, "options": { "head": true } }, { "content": "real, intent(out) :: ", "doc": "", "grammar": "snu", "label": "real intent(out)", "matches": { "reo": true }, "options": { "head": true } }, { "content": "integer, dimension(${1::})${2:#:, allocatable} :: ${3}", "doc": "", "grammar": "snu", "label": "integer dimension", "matches": { "ind": true }, "options": { "head": true } }, { "content": "integer, dimension(${1}), intent(in) :: ${2}", "doc": "", "grammar": "snu", "label": "integer dimension intent(in)", "matches": { "indi": true }, "options": { "head": true } }, { "content": "integer, dimension(${1}), intent(out) :: ${2}", "doc": "", "grammar": "snu", "label": "integer dimension intent(out)", "matches": { "indo": true }, "options": { "head": true } }, { "content": "real, dimension(${1::})${2:#:, allocatable} :: ${3}", "doc": "", "grammar": "snu", "label": "real dimension", "matches": { "red": true }, "options": { "head": true } }, { "content": "real, dimension(${1}), intent(in) :: ${2}", "doc": "", "grammar": "snu", "label": "real dimension intent(in)", "matches": { "redi": true }, "options": { "head": true } }, { "content": "real, dimension(${1}), intent(out) :: ${2}", "doc": "", "grammar": "snu", "label": "real dimension intent(out)", "matches": { "redo": true }, "options": { "head": true } }, { "content": "character(${1}) :: ${2}", "doc": "", "grammar": "snu", "label": "character", "matches": { "ch": true }, "options": { "head": true } }, { "content": "character(${1}), dimension(${2}) :: ${3}", "doc": "", "grammar": "snu", "label": "character dimension", "matches": { "chd": true }, "options": { "head": true } }, { "content": "logical :: ${1:fileExsit}", "doc": "", "grammar": "snu", "label": "logical", "matches": { "lo": true }, "options": { "head": true } }, { "content": "if (${1}) ${2}", "doc": "", "grammar": "snu", "label": "if", "matches": { "if": true }, "options": { "head": true } }, { "content": "if (${1}) then\n\t${2}\nend if", "doc": "", "grammar": "snu", "label": "if then", "matches": { "ift": true }, "options": { "head": true } }, { "content": "read(${1:*},${2:*}) ${3}", "doc": "", "grammar": "snu", "label": "read", "matches": { "read": true }, "options": { "head": true } }, { "content": "write(${1:*},${2:*}) ${3}", "doc": "", "grammar": "snu", "label": "write", "matches": { "wr": true }, "options": { "head": true } }, { "content": "open(${1:11},file=${2},status=${3:#:old}${4:#:,position='append'})\n${5}\nclose($1)", "doc": "", "grammar": "snu", "label": "open", "matches": { "op": true }, "options": { "head": true } }, { "content": "select case (${1})\n${2}\nend select", "doc": "", "grammar": "snu", "label": "select case", "matches": { "se": true }, "options": { "head": true } }, { "content": "case(${1})\n\t${2}", "doc": "", "grammar": "snu", "label": "case", "matches": { "case": true }, "options": { "head": true } }, { "content": "do ${1}\nend do", "doc": "", "grammar": "snu", "label": "do", "matches": { "do": true }, "options": { "head": true } }, { "content": "type ${1:}\n\t${2}\nend type $1", "doc": "", "grammar": "snu", "label": "type", "matches": { "ty": true }, "options": { "head": true } }, { "content": "type(${1}), dimension(${2::}), allcatable :: ${3}", "doc": "", "grammar": "snu", "label": "type dimension", "matches": { "tyd": true }, "options": { "head": true } } ], "fsharp": [ { "content": "if ${1:TARGET}\nthen ${2}\nelse ${0}", "doc": "", "grammar": "snu", "label": "if..then..else", "matches": { "If": true }, "options": { "head": true } }, { "content": "if ${1:TARGET} then ${2} else ${0}", "doc": "", "grammar": "snu", "label": "if..then..else - oneline", "matches": { "if": true }, "options": { "head": true } }, { "content": "match ${1:TARGET} with\n| ${2} -> ${0}", "doc": "", "grammar": "snu", "label": "match", "matches": { "match": true }, "options": {} }, { "content": "(fun ${1:x} -> ${2:x})", "doc": "", "grammar": "snu", "label": "(fun x -> ..)", "matches": { "fun": true }, "options": { "head": true } }, { "content": "[| ${0:TARGET} |]", "doc": "", "grammar": "snu", "label": "array literal [| |]", "matches": { "arl": true }, "options": {} }, { "content": "[<${0:TARGET}>]", "doc": "", "grammar": "snu", "label": "attribute [<..>]", "matches": { "att": true }, "options": { "head": true } }, { "content": "#if ${1}\n ${2:TARGET}\n#endif", "doc": "", "grammar": "snu", "label": "#if .. #endif", "matches": { "#if": true }, "options": { "head": true } }, { "content": "#if ${1}\n ${2}\nelse\n #{3}\n#endif", "doc": "", "grammar": "snu", "label": "#if .. else .. #endif", "matches": { "#ife": true }, "options": { "head": true } }, { "content": "__SOURCE_DIRECTORY__", "doc": "", "grammar": "snu", "label": "__SOURCE_DIRECTORY__", "matches": { "sourced": true }, "options": {} }, { "content": "__LINE__", "doc": "", "grammar": "snu", "label": "__LINE__", "matches": { "line": true }, "options": {} }, { "content": "__SOURCE_FILE__", "doc": "", "grammar": "snu", "label": "__FILE__", "matches": { "sourcef": true }, "options": {} } ], "gnuplot": [ { "content": "set ${1:#:axis}range [${2:*}:${3:*}]", "doc": "", "grammar": "snu", "label": "set x/y range.", "matches": { "range": true }, "options": { "head": true } }, { "content": "set xrange [${1:*}:${2:*}]", "doc": "", "grammar": "snu", "label": "set xrange [X1:X2]", "matches": { "xrange": true }, "options": { "head": true } }, { "content": "set yrange [${1:*}:${2:*}]", "doc": "", "grammar": "snu", "label": "set yrange [Y1:Y2]", "matches": { "yrange": true }, "options": { "head": true } }, { "content": "set title ${1:#:title}", "doc": "", "grammar": "snu", "label": "set title '...'", "matches": { "title": true }, "options": { "head": true } }, { "content": "set ${1:#:axis}label ${2:#:label}", "doc": "", "grammar": "snu", "label": "set title '...'", "matches": { "labelaxis": true }, "options": { "head": true } }, { "content": "set ${1:#:axis}tics ${2:#:start}, ${3:#:incr}, ${4:#:end}", "doc": "", "grammar": "snu", "label": "set x/y tics start, incr, end", "matches": { "tics": true }, "options": { "head": true } }, { "content": "set xtics ${1:#:start}, ${2:#:incr}, ${3:#:end}", "doc": "", "grammar": "snu", "label": "set xtics start, incr, end", "matches": { "xtics": true }, "options": { "head": true } }, { "content": "set ytics ${1:#:start}, ${2:#:incr}, ${3:#:end}", "doc": "", "grammar": "snu", "label": "set ytics start, incr, end", "matches": { "ytics": true }, "options": { "head": true } }, { "content": "set datafile separator '${1:#:separator}'", "doc": "", "grammar": "snu", "label": "set datafile separator 'separator'", "matches": { "datasep": true }, "options": { "head": true } }, { "content": "set terminal ${1:#:terminal}", "doc": "", "grammar": "snu", "label": "set terminal", "matches": { "term": true }, "options": { "head": true } }, { "content": "set output '${1:#:filename}'", "doc": "", "grammar": "snu", "label": "set output 'filename'", "matches": { "out": true }, "options": { "head": true } }, { "content": "set key", "doc": "", "grammar": "snu", "label": "set key", "matches": { "key": true }, "options": { "head": true } }, { "content": "unset key", "doc": "", "grammar": "snu", "label": "unset key", "matches": { "key!": true }, "options": { "head": true } }, { "content": "set grid", "doc": "", "grammar": "snu", "label": "set grid", "matches": { "grid": true }, "options": { "head": true } }, { "content": "unset grid", "doc": "", "grammar": "snu", "label": "unset grid", "matches": { "grid!": true }, "options": { "head": true } }, { "content": "set border", "doc": "", "grammar": "snu", "label": "set border", "matches": { "border": true }, "options": { "head": true } }, { "content": "print(${1:#:string}}", "doc": "", "grammar": "snu", "label": "print", "matches": { "print": true }, "options": { "head": true } }, { "content": "sprintf('${1:#:format}', ${2:#:vars})", "doc": "", "grammar": "snu", "label": "sprintf", "matches": { "sprintf": true }, "options": { "head": true } }, { "content": "set multiplot\n${1:#:plot code}\nunset multiplot", "doc": "", "grammar": "snu", "label": "set multiplot ... unset multiplot", "matches": { "multiplot": true }, "options": { "head": true } }, { "content": "if (${1:#:condition}) {\n ${2:#:commands}\n}", "doc": "", "grammar": "snu", "label": "if (...) {...}", "matches": { "if": true }, "options": { "head": true } }, { "content": "else {\n ${1:#:commands}\n}", "doc": "", "grammar": "snu", "label": "else {...}", "matches": { "else": true }, "options": { "head": true } }, { "content": "if (${1:#:condition}) {\n ${2:#:commands}\n} else {\n ${3:#:commands}\n}", "doc": "", "grammar": "snu", "label": "if (...) {...} else {...}", "matches": { "ifelse": true }, "options": { "head": true } }, { "content": "while (${1:#:expression}) {\n ${2:#:commands}\n}", "doc": "", "grammar": "snu", "label": "while (...) {...}", "matches": { "while": true }, "options": { "head": true } }, { "content": "do for ${1:#:iter} {\n ${2:#:commands}\n}", "doc": "", "grammar": "snu", "label": "do for {...}", "matches": { "do": true }, "options": { "head": true } }, { "content": "for [${1:str} in '${2:#:string list}']", "doc": "", "grammar": "snu", "label": "for [string in \"A B C...\"]", "matches": { "fors": true }, "options": { "head": true } }, { "content": "for [${1:i} = ${2:#:start}, ${3:#:end}, ${4:1}", "doc": "", "grammar": "snu", "label": "for [intvar = start, end, incr]", "matches": { "fori": true }, "options": { "head": true } }, { "content": "set logscale ${1:#:axis}", "doc": "", "grammar": "snu", "label": "set logscale ", "matches": { "logscale": true }, "options": { "head": true } } ], "go": [ { "content": "package main\nimport (\n \"fmt\"\n)\nfunc main() {\n fmt.Printf(\"Hello, world\\n\")\n}", "doc": "", "grammar": "snu", "label": "package main\\nimport fmt...", "matches": { "helloworld": true }, "options": { "head": true } }, { "content": "func ${1:fname}(${2}) ${3:int }{\n ${0:TARGET:return }\n}", "doc": "", "grammar": "snu", "label": "func ...() { ... }", "matches": { "fn": true, "func": true }, "options": { "head": true } }, { "content": "import (\n \"${1:fmt}\"\n)\n${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "im": true, "import": true }, "options": { "head": true } }, { "content": "package ${1:main}\n${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "package": true, "pk": true }, "options": { "head": true } }, { "content": "fmt.Printf(\"${1}\\n\"${2:})", "doc": "", "grammar": "snu", "label": "", "matches": { "pf": true, "printf": true }, "options": { "head": true } }, { "content": "fmt.Println(${0:TARGET})", "doc": "", "grammar": "snu", "label": "", "matches": { "pl": true, "println": true }, "options": { "head": true } }, { "content": "type ${1} struct {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "struct": true, "ts": true }, "options": { "head": true } }, { "content": "type ${1} interface {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "interface": true, "ti": true }, "options": { "head": true } }, { "content": "for ${1} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": { "head": true } }, { "content": "for ${1:v} := range ${2:#:iterator} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "for range", "matches": { "range": true }, "options": { "head": true } }, { "content": "if ${1:#:condition} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": { "head": true } }, { "content": "switch ${1:#:v} {\ncase ${2:#:condition}:\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "switch {}", "matches": { "switch": true }, "options": { "head": true } }, { "content": "select {\ncase ${1:#:condition}:\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "select {}", "matches": { "select": true }, "options": { "head": true } }, { "content": "case ${1:#:condition}:\n ${2:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "case": true }, "options": { "head": true } }, { "content": "func Test${1} (${2:t *testing.T}) {\n for i := 0; i < ${3:t.N}; i++ {\n ${4}\n }\n}", "doc": "", "grammar": "snu", "label": "func Test... (t *testing.T) { ... }", "matches": { "funcTest": true }, "options": { "head": true } }, { "content": "func Benchmark${1} (${2:b *testing.B}) {\n for i := 0; i < ${3:b.N}; i++ {\n ${4}\n }\n}", "doc": "", "grammar": "snu", "label": "func Benchmark... (b *testing.B) { ... }", "matches": { "funcbench": true }, "options": { "head": true } }, { "content": "var tests = []struct {\n name string\n expected string\n given string\n}{\n {\"${2}\", \"${3}\", \"${4}\",},\n}\nfor _, tt := range tests {\n tt := tt\n t.Run(tt.name, func(t *testing.T){\n actual := ${1:Function}(tt.given)\n if actual != tt.expected {\n t.Errorf(\"given(%s): expected %s, actual %s\", tt.given, tt.expected, actual)\n }\n })\n}", "doc": "", "grammar": "snu", "label": "var test = {...}{...} for {t.Run(){...}}", "matches": { "testtable": true }, "options": { "head": true } } ], "groovy": [ { "content": "package ${1:com.github.ujihisa}\nclass ${2:TARGET} {\n public static void main(String[] args) {\n println(\"Hello world!\")\n }\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "helloworld": true }, "options": { "head": true } } ], "haskell": [ { "content": "import qualified ${1} as ${2}", "doc": "", "grammar": "snu", "label": "import qualified ... as ...", "matches": { "import": true }, "options": {} }, { "content": "import ${1} (${2})", "doc": "", "grammar": "snu", "label": "import ... (...)", "matches": { "importOnly": true }, "options": {} }, { "content": "{-# LANGUAGE ${1} #-}", "doc": "", "grammar": "snu", "label": "{-# LANGUAGE ... #-}", "matches": { "language": true }, "options": {} }, { "content": "case ${1} of\n\t${2} -> ${0}", "doc": "", "grammar": "snu", "label": "case ... of", "matches": { "case": true }, "options": {} }, { "content": "main = do\n ${0}", "doc": "", "grammar": "snu", "label": "main = do", "matches": { "main": true }, "options": {} }, { "content": "class ${1:Class} ${2:a} where\n ${3:function} :: ${4:Type}", "doc": "", "grammar": "snu", "label": "", "matches": { "class": true }, "options": { "head": true } }, { "content": "instance ${1:Class} ${2:Type} where\n ${3:function} ${4:self} = ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "instance": true }, "options": { "head": true } }, { "content": "\\ ${1:x} -> ${0}", "doc": "", "grammar": "snu", "label": "λ", "matches": { "lambda": true }, "options": {} } ], "html": [ { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "doctypetransitional": true }, "options": {} }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "doctypeframeset": true }, "options": {} }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "doctypestrict": true }, "options": {} }, { "content": "\n\n \n \n \n ${4}\n \n \n ${5}\n \n", "doc": "", "grammar": "snu", "label": "", "matches": { "html5": true }, "options": {} }, { "content": "\n \n ${2}\n\n ${4}\n${5}", "doc": "", "grammar": "snu", "label": "", "matches": { "head": true }, "options": {} }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "metaauthor": true }, "options": {} }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "keywords": true }, "options": {} }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "metaothers": true }, "options": {} }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "metagenerator": true }, "options": {} }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "metadescription": true }, "options": {} }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "metaviewport": true }, "options": {} }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "metatheme": true }, "options": {} }, { "content": "${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "scriptcharset": true }, "options": {} }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "script": true }, "options": {} }, { "content": "${3}", "doc": "", "grammar": "snu", "label": "js", "matches": { "scriptsrc": true }, "options": {} }, { "content": "\n ${1:TARGET}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "body": true }, "options": {} }, { "content": "${2}${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "h": true }, "options": { "word": true } }, { "content": "

${1}

${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "p": true }, "options": { "word": true } }, { "content": "
", "doc": "", "grammar": "snu", "label": "", "matches": { "br": true }, "options": { "word": true } }, { "content": "
", "doc": "", "grammar": "snu", "label": "", "matches": { "hr": true }, "options": { "word": true } }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "comment": true }, "options": { "word": true } }, { "content": "${1:TARGET}${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "b": true }, "options": { "word": true } }, { "content": "${1:TARGET}${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "small": true }, "options": { "word": true } }, { "content": "${1:TARGET}${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "strong": true }, "options": { "word": true } }, { "content": "${1:TARGET}${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "sub": true }, "options": { "word": true } }, { "content": "${1:TARGET}${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "sup": true }, "options": { "word": true } }, { "content": "${1:TARGET}${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "ins": true }, "options": { "word": true } }, { "content": "${1:TARGET}${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "del": true }, "options": { "word": true } }, { "content": "${1:TARGET}${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "em": true }, "options": { "word": true } }, { "content": "${2:TARGET}${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "bdo": true }, "options": { "word": true } }, { "content": "
\n${1:TARGET}\n
${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "pre": true }, "options": {} }, { "content": "
\n${1}\n
\n${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "blockquote": true }, "options": {} }, { "content": "${4}", "doc": "", "grammar": "snu", "label": "link stylesheet css", "matches": { "link": true }, "options": {} }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "manifest": true }, "options": {} }, { "content": "text-align=\"left\"", "doc": "", "grammar": "snu", "label": "", "matches": { "alignl": true }, "options": {} }, { "content": "text-align=\"right\"", "doc": "", "grammar": "snu", "label": "", "matches": { "alignr": true }, "options": {} }, { "content": "text-align=\"center\"", "doc": "", "grammar": "snu", "label": "", "matches": { "alignc": true }, "options": {} }, { "content": "bgcolor=\"${1}\"${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "bgcolor": true }, "options": {} }, { "content": "${2:TARGET}${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "ahref": true }, "options": { "word": true } }, { "content": "${2:TARGET}${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "ahref_blank": true }, "options": { "word": true } }, { "content": "${2:TARGET}${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "ahref_parent": true }, "options": { "word": true } }, { "content": "${2:TARGET}${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "ahref_top": true }, "options": { "word": true } }, { "content": "${2:TARGET}${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "aname": true }, "options": { "word": true } }, { "content": "\n${2:TARGET}\n${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "framesetcols": true }, "options": {} }, { "content": "${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "framesetrows": true }, "options": {} }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "iframe": true }, "options": { "word": true } }, { "content": "\n${2:TARGET}\n
${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "table": true }, "options": {} }, { "content": "${1:TARGET}${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "th": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "ulsquare": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "ulcircle": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "uldisc": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "ol": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "olA": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "ola": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "olI": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "oli": true }, "options": { "word": true } }, { "content": "
  • ${1:TARGET}
  • ${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "li": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
    ${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "dl": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
    ${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "dt": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
    ${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "dd": true }, "options": { "word": true } }, { "content": "
    \n${1:TARGET}\n
    ${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "form": true }, "options": {} }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "inputtext": true }, "options": { "word": true } }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "inputpassword": true }, "options": { "word": true } }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "inputradio": true }, "options": { "word": true } }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "inputcheckbox": true }, "options": { "word": true } }, { "content": "\n${4}", "doc": "", "grammar": "snu", "label": "", "matches": { "textarea": true }, "options": {} }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "button": true }, "options": { "word": true } }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "buttonsubmit": true }, "options": { "word": true } }, { "content": "${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "select": true }, "options": { "word": true } }, { "content": "\n${2:TARGET}\n${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "optgroup": true }, "options": {} }, { "content": "${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "option": true }, "options": { "word": true } }, { "content": "${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "label": true }, "options": { "word": true } }, { "content": "${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "labelfor": true }, "options": { "word": true } }, { "content": "
    ${1:TARGET}
    ${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "fieldset": true }, "options": { "word": true } }, { "content": "${1:TARGET}${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "legend": true }, "options": { "word": true } }, { "content": "id=\"${1}\"${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "id": true }, "options": { "word": true } }, { "content": "class=\"${1}\"${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "class": true }, "options": { "word": true } }, { "content": "

    ${2:TARGET}

    ${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "pclass": true }, "options": { "word": true } }, { "content": "

    ${2:TARGET}

    ${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "pid": true }, "options": { "word": true } }, { "content": "
    ${2:TARGET}
    ${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "divid": true }, "options": { "word": true } }, { "content": "
    ${2:TARGET}
    ${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "divclass": true }, "options": { "word": true } }, { "content": "\"${2}\"${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "img": true }, "options": { "word": true } }, { "content": "
    \n ${1}\n
    ", "doc": "", "grammar": "snu", "label": "", "matches": { "header": true }, "options": { "word": true } }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "nav": true }, "options": { "word": true } }, { "content": "
    \n ${1}\n
    ", "doc": "", "grammar": "snu", "label": "", "matches": { "main": true }, "options": { "word": true } }, { "content": "
    \n ${1}\n
    ", "doc": "", "grammar": "snu", "label": "", "matches": { "footer": true }, "options": { "word": true } }, { "content": "\n ${1}\n ${3}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "details": true }, "options": {} } ], "java": [ { "content": "class ${1} ${2:#:extends_or_implements}{\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "class": true }, "options": {} }, { "content": "interface ${1} ${2:#:extends}{\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "interface": true }, "options": {} }, { "content": "${1:void} ${2:#:method}(${3}) ${4:throws} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "method": true }, "options": {} }, { "content": "enum ${1:#:name} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "enum {}", "matches": { "enum": true }, "options": {} }, { "content": "public void set${1:Name}(${2:String} ${3:name}) {\nthis.$3 = $3;\n}${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "set": true }, "options": {} }, { "content": "public ${1:String} get${2:Name}() {\nreturn $2;\n}${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "get": true }, "options": {} }, { "content": "public void set${1:Name}(${2:String} ${3:name}) {\nthis.$3 = $3;\n}\npublic $2 get$1() {\nreturn $1;\n}${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "setget": true }, "options": {} }, { "content": "${1:#:type} ${2:#:var}${3};", "doc": "", "grammar": "snu", "label": "", "matches": { "var": true }, "options": {} }, { "content": "static public final ${1:#:type} ${2:#:var} = ${3};${4}", "doc": "", "grammar": "snu", "label": "", "matches": { "const": true }, "options": {} }, { "content": "static public final String ${1:var} = \"${2}\";${4}", "doc": "", "grammar": "snu", "label": "", "matches": { "const_string": true }, "options": {} }, { "content": "public final ${1:#:type} ${2:#:var} = ${3};", "doc": "", "grammar": "snu", "label": "", "matches": { "final": true }, "options": {} }, { "content": "assert ${1:#:test} : ${2:#:Failure message};${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "assert": true }, "options": {} }, { "content": "if (${1}) {\n ${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": {} }, { "content": "else {\n ${1:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "else": true }, "options": {} }, { "content": "else if (${1}) {\n ${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "elif": true, "elseif": true }, "options": {} }, { "content": "while (${1}) {\n ${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "while": true }, "options": {} }, { "content": "for (${1}; ${2}; ${3}) {\n ${4:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": {} }, { "content": "for (${1} : ${2}) {\n ${3:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "fore": true, "foreach": true }, "options": {} }, { "content": "switch (${1}) {\n ${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "switch": true }, "options": {} }, { "content": "case ${1}:\n ${2:TARGET}\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "case": true }, "options": {} }, { "content": "break;", "doc": "", "grammar": "snu", "label": "", "matches": { "br": true }, "options": {} }, { "content": "default:\n ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "de": true, "default": true }, "options": {} }, { "content": "try {\n ${0:TARGET}\n} catch (${1:Exception} ${2:e}) {\n ${3:e.printStackTrace();}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "try": true }, "options": {} }, { "content": "try (${1:#:Resources}) {\n ${0:TARGET}\n} catch (${2:Exception} ${3:e}) {\n ${4:e.printStackTrace();}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "try_resources": true }, "options": {} }, { "content": "try {\n ${0:TARGET}\n} catch (${1:Exception} ${2:e}) {\n ${3:e.printStackTrace();}\n} finally {\n ${4}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "try_finally": true }, "options": {} }, { "content": "catch (${1:Exception} ${2:e}) {\n ${0:e.printStackTrace();}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "catch": true }, "options": {} }, { "content": "finally {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "finally": true }, "options": {} }, { "content": "throw ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "th": true }, "options": { "word": true } }, { "content": "synchronized", "doc": "", "grammar": "snu", "label": "", "matches": { "sy": true }, "options": { "word": true } }, { "content": "public class ${1} extends ${2:TestCase} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "tc": true, "testclass": true }, "options": { "head": true } }, { "content": "public void test${1:#:Name}() throws Exception {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "test": true }, "options": { "head": true } }, { "content": "import ${1};\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "import": true, "imt": true }, "options": {} }, { "content": "java.util.", "doc": "", "grammar": "snu", "label": "", "matches": { "j.u": true }, "options": {} }, { "content": "java.io.", "doc": "", "grammar": "snu", "label": "", "matches": { "j.i": true }, "options": {} }, { "content": "java.beans.", "doc": "", "grammar": "snu", "label": "", "matches": { "j.b": true }, "options": {} }, { "content": "java.net", "doc": "", "grammar": "snu", "label": "", "matches": { "j.n": true }, "options": {} }, { "content": "java.math.", "doc": "", "grammar": "snu", "label": "", "matches": { "j.m": true }, "options": {} }, { "content": "System.out.println(${1});", "doc": "", "grammar": "snu", "label": "", "matches": { "println": true, "sout": true }, "options": { "word": true } }, { "content": "System.out.printf(\"${1}\", ${2});", "doc": "", "grammar": "snu", "label": "", "matches": { "printf": true, "souf": true }, "options": { "word": true } }, { "content": "System.out.print(${1});", "doc": "", "grammar": "snu", "label": "", "matches": { "print": true }, "options": { "word": true } }, { "content": "System.out.format(${1});", "doc": "", "grammar": "snu", "label": "", "matches": { "format": true }, "options": { "word": true } }, { "content": "/**\n * ${0:TARGET}\n */", "doc": "", "grammar": "snu", "label": "", "matches": { "comment": true }, "options": {} }, { "content": "@author ${0:$TM_FULLNAME}", "doc": "", "grammar": "snu", "label": "", "matches": { "author": true }, "options": {} }, { "content": "{@code ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "{code": true }, "options": {} }, { "content": "@deprecated ${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "deprecated": true }, "options": {} }, { "content": "{@docRoot", "doc": "", "grammar": "snu", "label": "", "matches": { "{docRoot": true }, "options": {} }, { "content": "{@inheritDoc", "doc": "", "grammar": "snu", "label": "", "matches": { "{inheritDoc": true }, "options": {} }, { "content": "{@link ${1:#:target} ${0:#:label}", "doc": "", "grammar": "snu", "label": "", "matches": { "{link": true }, "options": {} }, { "content": "{@linkplain ${1:#:target} ${0:#:label}", "doc": "", "grammar": "snu", "label": "", "matches": { "{linkplain": true }, "options": {} }, { "content": "{@literal ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "{literal": true }, "options": {} }, { "content": "@param ${1:#:var} ${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "param": true }, "options": {} }, { "content": "@return ${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "return": true }, "options": {} }, { "content": "@see ${0:#:reference}", "doc": "", "grammar": "snu", "label": "", "matches": { "see": true }, "options": {} }, { "content": "@serial ${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "serial": true }, "options": {} }, { "content": "@serialField ${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "sd": true }, "options": {} }, { "content": "@serialField ${1:#:name} ${2:#:type} ${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "sf": true }, "options": {} }, { "content": "@since ${0:#:version}", "doc": "", "grammar": "snu", "label": "", "matches": { "since": true }, "options": {} }, { "content": "@throws ${1:#:class} ${0:#:description}", "doc": "", "grammar": "snu", "label": "", "matches": { "throws": true }, "options": {} }, { "content": "{@value ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "{value": true }, "options": {} }, { "content": "@version ${0:#:version}", "doc": "", "grammar": "snu", "label": "", "matches": { "ver": true, "version": true }, "options": {} }, { "content": "public class ${1:Hello} {\n static public void main(String args[]) {\n System.out.println(\"Hello, world!\");\n }\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "helloworld": true }, "options": { "head": true } } ], "javascript": [ { "content": "${1:#:method_name}: function(${2:#:attribute}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { ":f": true }, "options": { "head": true } }, { "content": "function ${1:#:function_name}(${2:#:argument}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "func", "matches": { "function": true }, "options": { "word": true } }, { "content": "function ${1:function_name}(${2:argument}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "func2", "matches": { "function2": true }, "options": { "head": true } }, { "content": "${1:#:class_name}.prototype.${2:#:method_name} = function(${3:#:first_argument}) {\n ${0:TARGET}\n};", "doc": "", "grammar": "snu", "label": "", "matches": { "proto": true }, "options": { "head": true } }, { "content": "function(${1}) { ${0:TARGET} };", "doc": "", "grammar": "snu", "label": "", "matches": { "f": true }, "options": { "word": true } }, { "content": "if (${1:true}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": { "head": true } }, { "content": "if (${1:#:condition}) {\n ${2:TARGET}\n} else {\n ${3}\n}", "doc": "", "grammar": "snu", "label": "ife", "matches": { "if-else": true }, "options": { "head": true } }, { "content": "for (let ${1:i} = 0; $1 < ${2:#:Things}.length; ++$1) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": { "head": true } }, { "content": "for (let ${1:i} in ${2:#:Things}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "forin": true }, "options": { "head": true } }, { "content": "for (let ${1:i} of ${2:#:Things}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "forof": true }, "options": { "head": true } }, { "content": "while (${1:true}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "while": true }, "options": { "head": true } }, { "content": "switch (${1:#:let}) {\n case ${2:#:val}:\n ${0:TARGET}\n break;\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "switch": true }, "options": { "head": true } }, { "content": "try {\n ${1:TARGET}\n} catch (${2:e}) {\n ${3}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "try": true }, "options": { "head": true } }, { "content": "try {\n ${1:TARGET}\n} catch (${2:e}) {\n ${3}\n} finally {\n ${4}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "try_finally": true }, "options": { "head": true } }, { "content": "${1:#:value_name}: ${0:#:value},", "doc": "", "grammar": "snu", "label": ":,", "matches": { "key-value": true }, "options": { "word": true } }, { "content": "setTimeout(function() { ${0} }, ${1:10});", "doc": "", "grammar": "snu", "label": "", "matches": { "setTimeout-function": true }, "options": { "head": true } }, { "content": "debugger;", "doc": "", "grammar": "snu", "label": "", "matches": { "db": true, "debugger": true }, "options": { "head": true } }, { "content": "console.log(${0:TARGET});", "doc": "", "grammar": "snu", "label": "", "matches": { "cl": true, "console-log": true }, "options": { "head": true } }, { "content": "console.trace();", "doc": "", "grammar": "snu", "label": "", "matches": { "console-trace": true, "ct": true }, "options": { "head": true } }, { "content": "console.error(${0:TARGET});", "doc": "", "grammar": "snu", "label": "", "matches": { "ce": true, "console-error": true }, "options": { "head": true } }, { "content": "console.warn(${0:TARGET});", "doc": "", "grammar": "snu", "label": "", "matches": { "console-warn": true, "cw": true }, "options": { "head": true } }, { "content": "console.info(${0:TARGET});", "doc": "", "grammar": "snu", "label": "", "matches": { "ci": true, "console-info": true }, "options": { "head": true } }, { "content": "(function(${1}) {\n 'use strict';\n ${0:TARGET}\n})(${2});", "doc": "", "grammar": "snu", "label": "", "matches": { "iife": true }, "options": { "head": true } }, { "content": "JSON.stringify(${1:TARGET}, null, 2);", "doc": "", "grammar": "snu", "label": "", "matches": { "js": true }, "options": { "head": true } }, { "content": "console.log(JSON.stringify(${1:TARGET}, null, 2));", "doc": "", "grammar": "snu", "label": "", "matches": { "jsc": true }, "options": { "head": true } }, { "content": "class ${1:#:NAME} {\n constructor(${2:#:ARGS}) {\n ${0:TARGET}\n }\n}", "doc": "", "grammar": "snu", "label": "class {...}", "matches": { "class": true }, "options": { "head": true } }, { "content": "class ${1:#:NAME} extends ${2:#:SuperClass} {\n constructor(${3:#:ARGS}) {\n ${0:TARGET}\n }\n}", "doc": "", "grammar": "snu", "label": "class extends {...}", "matches": { "class-extends": true }, "options": { "head": true } }, { "content": "static ${1:#:NAME}(${2:#:ARGS}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "static": true }, "options": { "head": true } }, { "content": "set ${1:#:NAME}(${2:#:ARGS}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "set": true }, "options": { "head": true } }, { "content": "get ${1:#:NAME}() {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "get": true }, "options": { "head": true } }, { "content": "import { ${1:MEMBERS} } from \"${0:TARGET}\";", "doc": "", "grammar": "snu", "label": "import { member, ... } from \"module-name\";", "matches": { "import": true }, "options": { "head": true } }, { "content": "import ${1:defaultMember} from \"${0:TARGET}\";", "doc": "", "grammar": "snu", "label": "import defaultMember from \"module-name\";", "matches": { "import-default": true }, "options": { "head": true } }, { "content": "import * as ${1:NAME} from \"${0:TARGET}\";", "doc": "", "grammar": "snu", "label": "import * as NAME from \"...\";", "matches": { "import-all": true }, "options": { "head": true } }, { "content": "import ${1:defaultMember}, { ${2:MEMBERS} } from \"${0:TARGET}\";", "doc": "", "grammar": "snu", "label": "import defaultMember, { member, ... } from \"module-name\";", "matches": { "import-default-member": true }, "options": { "head": true } } ], "julia": [ { "content": "function ${1}(${2})\n ${0}\nend", "doc": "", "grammar": "snu", "label": "function ... end", "matches": { "function": true }, "options": { "head": true } }, { "content": "macro ${1}(${2})\n ${0}\nend", "doc": "", "grammar": "snu", "label": "macro ... end", "matches": { "macro": true }, "options": { "head": true } }, { "content": "struct ${1}\n ${0}\nend", "doc": "", "grammar": "snu", "label": "struct ... end", "matches": { "struct": true }, "options": { "head": true } }, { "content": "module ${1}\n${0}\nend#module", "doc": "", "grammar": "snu", "label": "module ... end", "matches": { "module": true }, "options": { "head": true } }, { "content": "let ${1}\n ${0}\nend", "doc": "", "grammar": "snu", "label": "let ... end", "matches": { "let": true }, "options": { "head": true } }, { "content": "quote\n ${0}\nend", "doc": "", "grammar": "snu", "label": "quote ... end", "matches": { "quote": true }, "options": { "head": true } }, { "content": "begin\n ${0}\nend", "doc": "", "grammar": "snu", "label": "begin ... end", "matches": { "begin": true }, "options": { "head": true } }, { "content": "for ${1}\n ${0}\nend", "doc": "", "grammar": "snu", "label": "for ... end", "matches": { "for": true }, "options": { "head": true } }, { "content": "if ${1}\n ${0}\nend", "doc": "", "grammar": "snu", "label": "if ... end", "matches": { "if": true }, "options": { "head": true } }, { "content": "try\n ${1}\n${2:catch}\n ${0}\nend", "doc": "", "grammar": "snu", "label": "try ... end", "matches": { "try": true }, "options": { "head": true } }, { "content": "while ${1:true}\n ${0}\nend", "doc": "", "grammar": "snu", "label": "while ... end", "matches": { "while": true }, "options": { "head": true } } ], "kp19pp": [ { "content": " token{\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "token_desc": true }, "options": { "head": true } }, { "content": "{\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "left": true }, "options": { "head": true } }, { "content": " grammar{\n\tE<${1}>\n\t\t: [${2}] ${3}\n\t\t;\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "grammar": true }, "options": { "head": true } } ], "liquid": [ { "content": "{% comment %}${1:#:comment}{% endcomment %}", "doc": "", "grammar": "snu", "label": "", "matches": { "comment": true }, "options": { "word": true } }, { "content": "{% raw %}${1:#:TARGET}{% endraw %}", "doc": "", "grammar": "snu", "label": "", "matches": { "raw": true }, "options": { "word": true } }, { "content": "{% if ${1:#:condition} %}\n ${0:TARGET}\n{% endif %}", "doc": "", "grammar": "snu", "label": "if endif", "matches": { "if": true }, "options": { "word": true } }, { "content": "{% elseif ${1:#:condition} %}\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "elseif": true }, "options": {} }, { "content": "{% if ${1:#:condition} %}\n ${2:TARGET}\n{% else %}\n ${3}\n{% endif %}", "doc": "", "grammar": "snu", "label": "if else endif", "matches": { "ifelse": true }, "options": {} }, { "content": "{% unless ${1:#:TARGET} %}\n ${0:TARGET}\n{% endunless %}", "doc": "", "grammar": "snu", "label": "unless endunless", "matches": { "unless": true }, "options": { "word": true } }, { "content": "{% case ${1:#:condition} %}\n{% when ${2:#:TARGET} %}\n ${3}\n{% endcase%}", "doc": "", "grammar": "snu", "label": "case when endcase", "matches": { "case": true }, "options": {} }, { "content": "{% else %}\n ${1:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "else": true }, "options": {} }, { "content": "{% when ${1:#:TARGET} %}\n ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "when": true }, "options": {} }, { "content": "{% cycle ${1:#:TARGET} %}", "doc": "", "grammar": "snu", "label": "", "matches": { "cycle": true }, "options": { "word": true } }, { "content": "{% for ${1:#:var} in ${2:#:list} %}\n ${0:TARGET}\n{% endfor%}", "doc": "", "grammar": "snu", "label": "for in endfor", "matches": { "for": true }, "options": { "word": true } }, { "content": "{% tablerow ${1:#:var} in ${2:#:list} %}\n ${0:TARGET}\n{% endtablerow %}", "doc": "", "grammar": "snu", "label": "tablerow in endtablerow", "matches": { "tablerow": true }, "options": { "word": true } }, { "content": "{% assign ${1:#:var} = ${2:#:value} %}", "doc": "", "grammar": "snu", "label": "", "matches": { "assign": true }, "options": { "word": true } }, { "content": "{% capture ${1:#:var} %}${2:#:TARGET}{% endcapture %}", "doc": "", "grammar": "snu", "label": "", "matches": { "capture": true }, "options": { "word": true } }, { "content": "{% include ${1:#:TARGET} %}", "doc": "", "grammar": "snu", "label": "", "matches": { "include": true }, "options": { "word": true } }, { "content": "{{ ${1:#:TARGET} }}", "doc": "", "grammar": "snu", "label": "{{ }}", "matches": { "output": true, "{{": true }, "options": { "word": true } }, { "content": "{{ ${1:#:TARGET} | ${2:#:filter} }}", "doc": "", "grammar": "snu", "label": "{{ | }}", "matches": { "filter": true, "{{": true }, "options": { "word": true } }, { "content": "{% highlight ${1:#:TARGET} %}\n ${2:code}\n{% endhighlight %}", "doc": "", "grammar": "snu", "label": "", "matches": { "highlight": true, "hl": true }, "options": { "word": true } }, { "content": "{% highlight ${1:#:TARGET} linenos %}\n ${2:code}\n{% endhighlight %}", "doc": "", "grammar": "snu", "label": "Line number", "matches": { "highlight_line": true, "hl_l": true }, "options": { "word": true } }, { "content": "{% post_url ${1:#:TARGET} %}", "doc": "", "grammar": "snu", "label": "", "matches": { "post_url": true }, "options": { "word": true } }, { "content": "---\nlayout: ${1}\ntitle: ${2}\ncategory: ${3}\n---\n${0}", "doc": "", "grammar": "snu", "label": "layout title category", "matches": { "---": true, "front-matter": true }, "options": { "head": true } } ], "lua": [ { "content": "function ${1:#:function_name}(${2:#:argument})\n\t${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "function name(args)...end", "matches": { "func": true }, "options": { "word": true } }, { "content": "if ${1:#:condition} then\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": { "head": true } }, { "content": "for ${2:i} = 0, ${1:#:Things} do\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": { "head": true } }, { "content": "for ${2:k}, ${3:v} in ${1:ipairs(xs)} do\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "", "matches": { "forin": true }, "options": { "head": true } }, { "content": "for k, v in ipairs(${1:table}) do\n print(k, v)\nend", "doc": "", "grammar": "snu", "label": "for k, v in ipairs(table) do", "matches": { "print_table": true }, "options": { "head": true } }, { "content": "print(${0:TARGET})", "doc": "", "grammar": "snu", "label": "", "matches": { "p": true, "print": true }, "options": { "head": true } }, { "content": "[[${0:TARGET}]]", "doc": "", "grammar": "snu", "label": "", "matches": { "comment": true }, "options": { "head": true } }, { "content": "describe(${1:#:message}, function()\n ${0:TARGET}\nend)", "doc": "", "grammar": "snu", "label": "describe(message, func)", "matches": { "describe": true }, "options": { "head": true } }, { "content": "it(${1:#:message}, function()\n ${0:TARGET}\nend)", "doc": "", "grammar": "snu", "label": "it(message, func)", "matches": { "it": true }, "options": { "head": true } }, { "content": "before_each(function()\n ${0:TARGET}\nend)", "doc": "", "grammar": "snu", "label": "before_each(func)", "matches": { "before_each": true }, "options": { "head": true } }, { "content": "after_each(function()\n ${0:TARGET}\nend)", "doc": "", "grammar": "snu", "label": "after_each(func)", "matches": { "after_each": true }, "options": { "head": true } }, { "content": "setup(function()\n ${0:TARGET}\nend)", "doc": "", "grammar": "snu", "label": "setup(func)", "matches": { "setup": true }, "options": { "head": true } }, { "content": "tear_down(function()\n ${0:TARGET}\nend)", "doc": "", "grammar": "snu", "label": "tear_down(func)", "matches": { "tear_down": true }, "options": { "head": true } }, { "content": "finally(function()\n ${0:TARGET}\nend)", "doc": "", "grammar": "snu", "label": "finally(func)", "matches": { "finally": true }, "options": { "head": true } } ], "make": [ { "content": "CFLAGS=-Wall -g ${0: -llua -lzeromq}", "doc": "", "grammar": "snu", "label": "", "matches": { "CFLAGS": true }, "options": { "head": true } }, { "content": "clean:\n rm -f ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "clean:": true }, "options": { "head": true } } ], "markdown": [ { "content": "# ${0}", "doc": "", "grammar": "snu", "label": "# section heading", "matches": { "heading": true, "section": true }, "options": { "head": true } }, { "content": "[${1:#:link_id}][]${2}", "doc": "", "grammar": "snu", "label": "[link][]", "matches": { "link": true }, "options": { "word": true } }, { "content": "[${1:#:link}][${2:id}]${3}", "doc": "", "grammar": "snu", "label": "[link][id]", "matches": { "linkid": true }, "options": { "word": true } }, { "content": "[${1:#:link}](https://${2:#:url})${3}", "doc": "", "grammar": "snu", "label": "[link](url)", "matches": { "linkurl": true }, "options": { "word": true } }, { "content": "[${1:#:link}](mailto:${2:#:email})${3}", "doc": "", "grammar": "snu", "label": "[link](email)", "matches": { "linkemail": true }, "options": { "word": true } }, { "content": "[${1:#:link}](${2:#:url} \"${3:#:title}\")${4}", "doc": "", "grammar": "snu", "label": "[link](url \"title\")", "matches": { "linkurltitle": true }, "options": { "word": true } }, { "content": "[${1:#:id}]: https://${2:#:url} \"${3:#:title}\"", "doc": "", "grammar": "snu", "label": "[id]: url \"title\"", "matches": { "idurl": true }, "options": { "word": true } }, { "content": "[${1:#:id}]: mailto:${2:#:url} \"${3:#:title}\"", "doc": "", "grammar": "snu", "label": "[id]: email \"title\"", "matches": { "idemail": true }, "options": { "word": true } }, { "content": "![${1:#:alt}][${2:#:id}]${3}", "doc": "", "grammar": "snu", "label": "![alt][id]", "matches": { "altid": true }, "options": { "word": true } }, { "content": "![${1:#:alt}](${2:#:url})${3}", "doc": "", "grammar": "snu", "label": "![alt](url)", "matches": { "alturl": true }, "options": { "word": true } }, { "content": "![${1:#:alt}](${2:#:url} \"${3:#:title}\")${4}", "doc": "", "grammar": "snu", "label": "![alt](url \"title\")", "matches": { "alturltitle": true }, "options": { "word": true } }, { "content": "*${1}*${2}", "doc": "", "grammar": "snu", "label": "*emphasis*", "matches": { "emphasis1": true }, "options": { "word": true } }, { "content": "_${1}_${2}", "doc": "", "grammar": "snu", "label": "_emphasis_", "matches": { "emphasis2": true }, "options": { "word": true } }, { "content": "**${1}**${2}", "doc": "", "grammar": "snu", "label": "**strong**", "matches": { "strong1": true }, "options": { "word": true } }, { "content": "__${1}__${2}", "doc": "", "grammar": "snu", "label": "__strong__", "matches": { "strong2": true }, "options": { "word": true } }, { "content": "> ${0}", "doc": "", "grammar": "snu", "label": "quote block", "matches": { "blockquote": true }, "options": { "head": true } } ], "mediawiki": [ { "content": "== ${1} ==\n${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "==": true }, "options": {} }, { "content": "=== ${1} ===\n${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "===": true }, "options": {} }, { "content": "==== ${1} ====\n${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "====": true }, "options": {} }, { "content": "===== ${1} =====\n${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "=====": true }, "options": {} }, { "content": "====== ${1} ======\n${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "======": true }, "options": {} }, { "content": "[[${1}]] ${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "[[": true }, "options": {} }, { "content": "''${1}''", "doc": "", "grammar": "snu", "label": "", "matches": { "''": true }, "options": {} }, { "content": "'''${1}'''", "doc": "", "grammar": "snu", "label": "", "matches": { "'''": true }, "options": {} }, { "content": "'''''${1}'''''", "doc": "", "grammar": "snu", "label": "", "matches": { "'''''": true }, "options": {} }, { "content": "\n${2}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "sy": true }, "options": {} }, { "content": "
    \n${1}\n
    ", "doc": "", "grammar": "snu", "label": "", "matches": { "pre": true }, "options": {} }, { "content": "\n${1}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "html": true }, "options": {} }, { "content": "${1}", "doc": "", "grammar": "snu", "label": "", "matches": { "nowiki": true }, "options": {} }, { "content": "${1}", "doc": "", "grammar": "snu", "label": "", "matches": { "tt": true }, "options": {} }, { "content": "
    ${1}
    ", "doc": "", "grammar": "snu", "label": "", "matches": { "blockquote": true }, "options": {} }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "ft": true }, "options": {} }, { "content": "{|class=\"wikitable\"\n|+ ${1}\n! ${2}\n! ${3}\n|-\n| ${4}\n| ${5}\n|-\n| ${6}\n| ${7}\n|-\n|\n|\n|}", "doc": "", "grammar": "snu", "label": "", "matches": { "{|": true }, "options": {} } ], "mkd": [], "moon": [ { "content": "print 'Hello world!'", "doc": "", "grammar": "snu", "label": "", "matches": { "helloworld": true }, "options": { "head": true } }, { "content": "[${0:TARGET} for ${1:x} in ${2:xs}]", "doc": "", "grammar": "snu", "label": "", "matches": { "map": true }, "options": { "word": true } }, { "content": "moon.p ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "p": true }, "options": { "head": true } }, { "content": "${1:f} = (${2:args}) ->\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "defn": true }, "options": {} }, { "content": "${1:f}: (${2:args}) =>\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "defm": true }, "options": { "head": true } }, { "content": "${1:moon} = require '$1'", "doc": "", "grammar": "snu", "label": "", "matches": { "require": true }, "options": { "head": true } } ], "neosnippet": [ { "content": "snippet ${1:#:trigger}\nabbr ${2:#:abbr}\noptions head\n ${3:#:TARGET}", "doc": "", "grammar": "snu", "label": "snippet abbr options ", "matches": { "snip": true, "snippet": true }, "options": { "head": true } }, { "content": "include ${0:filetype}.snip", "doc": "", "grammar": "snu", "label": "include *.snip", "matches": { "inc": true, "include": true }, "options": { "head": true } }, { "content": "${${0:0}}", "doc": "", "grammar": "snu", "label": "${..}", "matches": { "$": true }, "options": { "word": true } }, { "content": "\\${0}${0}", "doc": "", "grammar": "snu", "label": "${0}", "matches": { "0": true }, "options": { "word": true } }, { "content": "\\${1}${0}", "doc": "", "grammar": "snu", "label": "${1}", "matches": { "1": true }, "options": { "word": true } }, { "content": "\\${2}${0}", "doc": "", "grammar": "snu", "label": "${2}", "matches": { "2": true }, "options": { "word": true } }, { "content": "\\${3}${0}", "doc": "", "grammar": "snu", "label": "${3}", "matches": { "3": true }, "options": { "word": true } }, { "content": "\\${4}${0}", "doc": "", "grammar": "snu", "label": "${4}", "matches": { "4": true }, "options": { "word": true } }, { "content": "\\${5}${0}", "doc": "", "grammar": "snu", "label": "${5}", "matches": { "5": true }, "options": { "word": true } }, { "content": "${${1:0}:${0:default}}", "doc": "", "grammar": "snu", "label": "${X:default}", "matches": { "$:": true }, "options": { "word": true } }, { "content": "\\${0:${0:default}}", "doc": "", "grammar": "snu", "label": "${0:default}", "matches": { "0:": true }, "options": { "word": true } }, { "content": "\\${1:${0:default}}", "doc": "", "grammar": "snu", "label": "${1:default}", "matches": { "1:": true }, "options": { "word": true } }, { "content": "\\${2:${0:default}}", "doc": "", "grammar": "snu", "label": "${2:default}", "matches": { "2:": true }, "options": { "word": true } }, { "content": "\\${3:${0:default}}", "doc": "", "grammar": "snu", "label": "${3:default}", "matches": { "3:": true }, "options": { "word": true } }, { "content": "\\${4:${0:default}}", "doc": "", "grammar": "snu", "label": "${4:default}", "matches": { "4:": true }, "options": { "word": true } }, { "content": "\\${5:${0:default}}", "doc": "", "grammar": "snu", "label": "${5:default}", "matches": { "5:": true }, "options": { "word": true } }, { "content": "${${1:0}#${0:optional}}", "doc": "", "grammar": "snu", "label": "${X#optional}", "matches": { "$#": true }, "options": { "word": true } }, { "content": "\\${0:#${0:optional}}", "doc": "", "grammar": "snu", "label": "${0:#optional}", "matches": { "0#": true }, "options": { "word": true } }, { "content": "\\${1:#${0:optional}}", "doc": "", "grammar": "snu", "label": "${1:#optional}", "matches": { "1#": true }, "options": { "word": true } }, { "content": "\\${2:#${0:optional}}", "doc": "", "grammar": "snu", "label": "${2:#optional}", "matches": { "2#": true }, "options": { "word": true } }, { "content": "\\${3:#${0:optional}}", "doc": "", "grammar": "snu", "label": "${3:#optional}", "matches": { "3#": true }, "options": { "word": true } }, { "content": "\\${4:#${0:optional}}", "doc": "", "grammar": "snu", "label": "${4:#optional}", "matches": { "4#": true }, "options": { "word": true } }, { "content": "\\${5:#${0:optional}}", "doc": "", "grammar": "snu", "label": "${5:#optional}", "matches": { "5#": true }, "options": { "word": true } }, { "content": "${${0:0}:TARGET}", "doc": "", "grammar": "snu", "label": "${*:TARGET}", "matches": { "T": true, "TARGET": true }, "options": { "word": true } }, { "content": "\\${0:TARGET}${0}", "doc": "", "grammar": "snu", "label": "${0:TARGET}", "matches": { "0T": true, "0t": true }, "options": { "word": true } }, { "content": "\\${1:TARGET}${0}", "doc": "", "grammar": "snu", "label": "${1:TARGET}", "matches": { "1T": true, "1t": true }, "options": { "word": true } }, { "content": "\\${2:TARGET}${0}", "doc": "", "grammar": "snu", "label": "${2:TARGET}", "matches": { "2T": true, "2t": true }, "options": { "word": true } }, { "content": "\\${3:TARGET}${0}", "doc": "", "grammar": "snu", "label": "${3:TARGET}", "matches": { "3T": true, "3t": true }, "options": { "word": true } }, { "content": "\\${4:TARGET}${0}", "doc": "", "grammar": "snu", "label": "${4:TARGET}", "matches": { "4T": true, "4t": true }, "options": { "word": true } }, { "content": "\\${5:TARGET}${0}", "doc": "", "grammar": "snu", "label": "${5:TARGET}", "matches": { "5T": true, "5t": true }, "options": { "word": true } } ], "nim": [ { "content": "proc ${1:#:name}(${2}) =\n ${0:pass}", "doc": "", "grammar": "snu", "label": "", "matches": { "proc": true }, "options": { "head": true } }, { "content": "proc ${1:#:name}(${2}):\ndiscard \"\"\"${3:#:function documentation}\"\"\"\n ${0:pass}", "doc": "", "grammar": "snu", "label": "", "matches": { "procd": true }, "options": { "head": true } }, { "content": "proc ${1:#:name}(${2}):${3:#:type} =\n ${0:pass}", "doc": "", "grammar": "snu", "label": "", "matches": { "proct": true }, "options": { "head": true } }, { "content": "proc ${1:#:name}(${2}) =\n ${0:pass}", "doc": "", "grammar": "snu", "label": "", "matches": { "procg": true }, "options": { "head": true } }, { "content": "proc ${1:#:name}(${2}):${3:#:type} =\n ${0:pass}", "doc": "", "grammar": "snu", "label": "", "matches": { "procgt": true }, "options": { "head": true } }, { "content": "template ${1:#:name}(${2}):${3:type} =\n ${0:pass}", "doc": "", "grammar": "snu", "label": "", "matches": { "template": true }, "options": { "head": true } }, { "content": "macro ${1:#:name}(${2}):${3:type} =\n ${0:pass}", "doc": "", "grammar": "snu", "label": "", "matches": { "macro": true }, "options": { "head": true } }, { "content": "elif ${1:#:condition}:\n ${0:pass}", "doc": "", "grammar": "snu", "label": "elif ...: ...", "matches": { "elif": true }, "options": { "head": true } }, { "content": "else:\n ${0:pass}", "doc": "", "grammar": "snu", "label": "else: ...", "matches": { "else": true }, "options": { "head": true } }, { "content": "for ${1:#:value} in ${2:#:list}:\n ${0:pass}", "doc": "", "grammar": "snu", "label": "for ... in ...: ...", "matches": { "for": true }, "options": { "head": true } }, { "content": "if ${1:#:condition}:\n ${0:pass}", "doc": "", "grammar": "snu", "label": "if ...: ...", "matches": { "if": true }, "options": { "head": true } }, { "content": "when ${1:#:condition}:\n ${0:pass}", "doc": "", "grammar": "snu", "label": "when ...: ...", "matches": { "when": true }, "options": { "head": true } }, { "content": "if isMainModule:\n ${0:pass}", "doc": "", "grammar": "snu", "label": "if isMainModule: ...", "matches": { "ifmain": true, "main": true }, "options": { "head": true } }, { "content": "try:\n ${1:pass}\nexcept ${2:#:ExceptionClass}:\n ${3:pass}", "doc": "", "grammar": "snu", "label": "try: ... except ...: ...", "matches": { "tryexcept": true }, "options": { "head": true } }, { "content": "try:\n ${1:pass}\nfinally:\n ${2:pass}", "doc": "", "grammar": "snu", "label": "try: ... finally: ...", "matches": { "tryfinally": true }, "options": { "head": true } }, { "content": "try: ${1:pass}\ndefer: ${2:pass}", "doc": "", "grammar": "snu", "label": "", "matches": { "trydefer": true }, "options": { "head": true } }, { "content": "while ${1:#:condition}:\n ${0:pass}", "doc": "", "grammar": "snu", "label": "", "matches": { "while": true }, "options": { "head": true } }, { "content": "echo(${0:#:TARGET})", "doc": "", "grammar": "snu", "label": "", "matches": { "echo": true }, "options": { "word": true } }, { "content": "fmt\"${0:#:TARGET}\"", "doc": "", "grammar": "snu", "label": "", "matches": { "fmt": true }, "options": { "word": true } } ], "objc": [ { "content": "@selector(${1:#:method}:)", "doc": "", "grammar": "snu", "label": "", "matches": { "sel": true }, "options": {} }, { "content": "#import <${1:Cocoa/Cocoa.h}>", "doc": "", "grammar": "snu", "label": "", "matches": { "imp": true }, "options": {} }, { "content": "#import \"${1}}\"", "doc": "", "grammar": "snu", "label": "", "matches": { "Imp": true }, "options": {} }, { "content": "NSLog(@\"${1}\")", "doc": "", "grammar": "snu", "label": "NSLog(...)", "matches": { "log": true }, "options": {} }, { "content": "@interface ${1} : ${2:NSObject}\n{\n}\n@end\n@implementation ${1}\n- (id)init\n{\n\tif((self = [super init]))\n\t{${0}\n\t}\n\treturn self;\n}\n@end", "doc": "", "grammar": "snu", "label": "Class", "matches": { "cl": true }, "options": {} }, { "content": "@interface ${1} : ${2:NSObject}\n{${3}\n}\n${0}\n@end", "doc": "", "grammar": "snu", "label": "ClassInterface", "matches": { "cli": true }, "options": {} }, { "content": "@implementation ${1:object}\n- (id)init\n{\n\tif((self = [super init]))\n\t{${0}\n\t}\n\treturn self;\n}\n@end", "doc": "", "grammar": "snu", "label": "ClassImplementation", "matches": { "clm": true }, "options": {} }, { "content": "@interface ${1:NSObject} (${2:Category})\n@end\n@implementation ${1} (${2})\n${0}\n@end", "doc": "", "grammar": "snu", "label": "Category", "matches": { "cat": true }, "options": {} }, { "content": "@interface ${1:NSObject)} (${2:Category)})\n${0}\n@end", "doc": "", "grammar": "snu", "label": "CategoryInterface", "matches": { "cati": true }, "options": {} }, { "content": "NSMutableArray *${1:#:array} = [NSMutableArray array];", "doc": "", "grammar": "snu", "label": "", "matches": { "array": true }, "options": {} }, { "content": "NSMutableDictionary *${1:#:dict} = [NSMutableDictionary dictionary];", "doc": "", "grammar": "snu", "label": "", "matches": { "dict": true }, "options": {} }, { "content": "NSBezierPath *${1:#:path} = [NSBezierPath bezierPath];", "doc": "", "grammar": "snu", "label": "", "matches": { "bez": true }, "options": {} }, { "content": "- (${1:#:id})${2:#:method}${3:(#:id)}${4:#:anArgument}\n{\n${0}\n\treturn nil;\n}", "doc": "", "grammar": "snu", "label": "Method", "matches": { "m": true }, "options": {} }, { "content": "- (${1:#:id})${2:#:method}${3:(#:id)}${4:#:anArgument};", "doc": "", "grammar": "snu", "label": "Method", "matches": { "M": true }, "options": {} }, { "content": "+ (${1:#:id})${2:#:method}${3:(#:id)}${4:#:anArgument}\n{\n${0}\n\treturn nil;\n}", "doc": "", "grammar": "snu", "label": "ClassMethod", "matches": { "cm": true }, "options": {} }, { "content": "+ (${1:#:id})${0:#:method};", "doc": "", "grammar": "snu", "label": "InterfaceClassMethod", "matches": { "icm": true }, "options": {} }, { "content": "- (${1:#:id})${2:#:method}${3:(#:id)}${4:#:anArgument}\n{\n\t${1} res = [super ${2:#:method}]\n\treturn res;\n}", "doc": "", "grammar": "snu", "label": "SubMethod", "matches": { "sm": true }, "options": {} }, { "content": "+ (void)initialize\n{\n\t[[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWithObjectsAndKeys:\n\t\t${0}@\"value\", @\"key\",\n\t\tnil]];\n}", "doc": "", "grammar": "snu", "label": "MethodInitialize", "matches": { "mi": true }, "options": {} }, { "content": "- (${1:#:id})${2:#:thing}\n{\n\treturn ${2};\n}\n- (void)set${2}:(${1})aValue\n{\n\t${0}${1}old${2} = ${2};\n\t${2} = [aValue retain];\n\t[old${2} release];\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "obj": true }, "options": {} }, { "content": "- (${1:#:id})${2:#:thing};\n- (void)set${2}:(${1})aValue;", "doc": "", "grammar": "snu", "label": "", "matches": { "iobj": true }, "options": {} }, { "content": "- (NSString${$1: *)})${1:#:thing}\n{\n\treturn ${2};\n}\n- (void)set${1}:(NSString${2: *})${3}\n{\n\t${3} = [${3} copy];\n\t[${2} release];\n\t${2} = ${3};\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "str": true }, "options": {} }, { "content": "- (NSString${1: *)}${1:#:thing};\n- (void)set${1}:(NSString${2: *})${2};", "doc": "", "grammar": "snu", "label": "", "matches": { "istr": true }, "options": {} }, { "content": "- (${1:#:id})${2:#:attribute}\n{\n\t[self willAccessValueForKey:@\"$2\"];\n\t$1 value = [self primitiveValueForKey:@\"$2\"];\n\t[self didAccessValueForKey:@\"$2\"];\n\treturn value;\n}\n- (void)set$2:($1)aValue\n{\n\t[self willChangeValueForKey:@\"$2\"];\n\t[self setPrimitiveValue:aValue forKey:@\"$2\"];\n\t[self didChangeValueForKey:@\"$2\"];\n}", "doc": "", "grammar": "snu", "label": "CoreData", "matches": { "cd": true }, "options": {} }, { "content": "- (void)addObjectTo${1:#:Things}:(${2:#:id})anObject\n{\n\t[${3}} addObject:anObject];\n}\n- (void)insertObject:($2)anObject in$1AtIndex:(unsigned int)i\n{\n\t[${3} insertObject:anObject atIndex:i];\n}\n- (${2})objectIn${1}AtIndex:(unsigned int)i\n{\n\treturn [${3} objectAtIndex:i];\n}\n- (unsigned int)indexOfObjectIn${1}:(${2})anObject\n{\n\treturn [${3} indexOfObject:anObject];\n}\n- (void)removeObjectFrom${1}AtIndex:(unsigned int)i\n{\n\t [${3} removeObjectAtIndex:i];\n}\n- (unsigned int)countOf${1}\n{\n\treturn [${3} count];\n}\n- (NSArray${4: *}${1}\n{\n\treturn ${3}\n}\n- (void)set${1}:(NSArray${4: *})new${1}\n{\n\t[${3} setArray:new${1}];\n}", "doc": "", "grammar": "snu", "label": "KVCArry", "matches": { "karray": true }, "options": {} }, { "content": "- (void)addObjectTo${1:#:Things}:(${2:#:id})anObject;\n- (void)insertObject:(${2})anObject in${1}AtIndex:(unsigned int)i;\n- (${2})objectIn${1}AtIndex:(unsigned int)i;\n- (unsigned int)indexOfObjectIn${1}:(${2})anObject;\n- (void)removeObjectFrom${1}AtIndex:(unsigned int)i;\n- (unsigned int)countOf${1};\n- (NSArray${3: *})${1};\n- (void)set${1}:(NSArray${3: *})new${1};", "doc": "", "grammar": "snu", "label": "InterfaceAccessorsForKVCArray", "matches": { "iarray": true }, "options": {} }, { "content": "- (${1:unsigned int})${2:#:thing}\n{\n\treturn ${3};\n}\n- (void)set${2}:(${1:unsigned int})new${2}\n{\n\t${3} = new${2};\n}", "doc": "", "grammar": "snu", "label": "PrimitiveType", "matches": { "acc": true }, "options": {} }, { "content": "- (${1:unsigned int})${2:thing};\n- (void)set${2}:($1)new${2};", "doc": "", "grammar": "snu", "label": "Interface:AccessorsForPrimitiveType", "matches": { "iacc": true }, "options": {} }, { "content": "[[NSUserDefaults standardUserDefaults] objectForKey:${1:key}];", "doc": "", "grammar": "snu", "label": "ReadDefaultsValue", "matches": { "rdef": true }, "options": {} }, { "content": "[[NSUserDefaults standardUserDefaults] setObject:${1:object} forKey:${2:key}];", "doc": "", "grammar": "snu", "label": "WriteDefaultsValue", "matches": { "wdef": true }, "options": {} }, { "content": "IBOutlet ${1}${2: *}${3};", "doc": "", "grammar": "snu", "label": "IBOutlet", "matches": { "ibo": true }, "options": {} }, { "content": "@synthesize ${1:#:property};", "doc": "", "grammar": "snu", "label": "", "matches": { "syn": true }, "options": {} }, { "content": "bind:@\"${2:#:binding}\" toObject:${3:observableController} withKeyPath:@\"${4:keyPath}\" options:${5:nil}", "doc": "", "grammar": "snu", "label": "", "matches": { "bind": true }, "options": {} }, { "content": "[[NSNotificationCenter defaultCenter] addObserver:${1:self} selector:@selector(${3}) name:${2:NSWindowDidBecomeMainNotification} object:${4:nil}];", "doc": "", "grammar": "snu", "label": "", "matches": { "reg": true }, "options": {} }, { "content": "[self lockFocus];\n${0}\n[self unlockFocus];", "doc": "", "grammar": "snu", "label": "", "matches": { "focus": true }, "options": {} }, { "content": "unsigned int\t${1:object}Count = [${2:array} count];\nfor(unsigned int index = 0; index < ${1}Count; index += 1)\n{\n\t${3:id}\t${1} = [${2} objectAtIndex:index];\n\t${0}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "forarray": true }, "options": {} }, { "content": "int choice = NSRunAlertPanel(@\"${1:Something important!}\", @\"${2:Something important just happend, and now I need to ask you, do you want to continue?}\", @\"${3:Continue}\", @\"${4:Cancel}\", nil);\nif(choice == NSAlertDefaultReturn) // \"${3:Continue}\"\n{\n\t${0};\n}\nelse if(choice == NSAlertAlternateReturn) // \"${4:Cancel}\"\n{\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "alert": true }, "options": {} }, { "content": "${1} Send ${2} to ${1}, if ${1} supports it}${3}\nif ([${1:self} respondsToSelector:@selector(${2:someSelector:})])\n{\n [${1} ${3}];\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "res": true }, "options": {} }, { "content": "if([${1:[self delegate]} respondsToSelector:@selector(${2:selfDidSomething:})])\n\t[${1} ${3}];", "doc": "", "grammar": "snu", "label": "", "matches": { "del": true }, "options": {} }, { "content": "[NSString stringWithFormat:@\"${1}\", ${2}]${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "format": true }, "options": {} }, { "content": "[NSGraphicsContext saveGraphicsState];\n${0}\n[NSGraphicsContext restoreGraphicsState];", "doc": "", "grammar": "snu", "label": "", "matches": { "save": true }, "options": {} }, { "content": "[NSThread detachNewThreadSelector:@selector(${1:#:method}:) toTarget:${2:#:aTarget} withObject:${3:#:anArgument}]", "doc": "", "grammar": "snu", "label": "", "matches": { "thread": true }, "options": {} }, { "content": "NSAutoreleasePool${TM_C_POINTER: *}pool = [NSAutoreleasePool new];\n${0}\n[pool drain];", "doc": "", "grammar": "snu", "label": "", "matches": { "pool": true }, "options": {} } ], "ocaml": [ { "content": "module type ${1} = sig\n ${2:TARGET}\nend", "doc": "", "grammar": "snu", "label": "module signature", "matches": { "mot": true }, "options": { "head": true } }, { "content": "module ${1} = struct\n ${2:TARGET}\nend", "doc": "", "grammar": "snu", "label": "module struct", "matches": { "mod": true }, "options": { "head": true } }, { "content": "module ${1} : sig\n ${2:TARGET}\nend", "doc": "", "grammar": "snu", "label": "module signature", "matches": { "mos": true }, "options": { "head": true } }, { "content": "(* ${0:TARGET} *)", "doc": "", "grammar": "snu", "label": "comment", "matches": { "cc": true }, "options": {} }, { "content": "(*\n ${0:TARGET}\n*)", "doc": "", "grammar": "snu", "label": "multi line comment", "matches": { "Cc": true }, "options": {} }, { "content": "(** ${0:TARGET} *)", "doc": "", "grammar": "snu", "label": "ocamldoc comment (** .. *)", "matches": { "oo": true }, "options": {} }, { "content": "if ${1:TARGET}\nthen ${2}\nelse ${3}", "doc": "", "grammar": "snu", "label": "if..then..else", "matches": { "if": true }, "options": {} }, { "content": "let ${1:TARGET} in ${0}", "doc": "", "grammar": "snu", "label": "let..in", "matches": { "let": true }, "options": {} }, { "content": "let rec ${1:TARGET}\nin ${0}", "doc": "", "grammar": "snu", "label": "let rec .. in", "matches": { "letr": true }, "options": { "head": true } }, { "content": "match ${1:TARGET} with\n| ${2} -> ${0}", "doc": "", "grammar": "snu", "label": "match", "matches": { "match": true }, "options": {} }, { "content": "object\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "object", "matches": { "obj": true }, "options": {} }, { "content": "try ${1:TARGET}\nwith ${0}", "doc": "", "grammar": "snu", "label": "try..with", "matches": { "try": true }, "options": {} }, { "content": "let open ${1} in\n${2:TARGET}", "doc": "", "grammar": "snu", "label": "let open .. in", "matches": { "lopen": true }, "options": { "head": true } }, { "content": "for ${1:i} = ${2:0} to ${3:10} do\n ${0:TARGET}\ndone", "doc": "", "grammar": "snu", "label": "for i=x..y do; ... done", "matches": { "for": true }, "options": { "head": true } }, { "content": "while ${1:true} do\n ${2:TARGET}\ndone", "doc": "", "grammar": "snu", "label": "while ... do; ... done", "matches": { "while": true }, "options": { "head": true } }, { "content": "(fun ${1:x} -> ${2:TARGET})", "doc": "", "grammar": "snu", "label": "(fun x -> ...)", "matches": { "fun": true }, "options": {} }, { "content": "[| ${0:TARGET} |]", "doc": "", "grammar": "snu", "label": "array literal [| |]", "matches": { "arl": true }, "options": {} }, { "content": "failwith \"${0:TARGET}\"", "doc": "", "grammar": "snu", "label": "failwith \"...\"", "matches": { "fail": true }, "options": {} }, { "content": "begin ${0:TARGET} end", "doc": "", "grammar": "snu", "label": "begin ... end", "matches": { "beg": true }, "options": {} }, { "content": "exception ${0:TARGET} of ${1:string}", "doc": "", "grammar": "snu", "label": "exception", "matches": { "exn": true }, "options": { "head": true } }, { "content": "{${0:}|${1:TARGET}|$0}", "doc": "", "grammar": "snu", "label": "string literals {xxx| ... |xxx}", "matches": { "lit": true }, "options": { "head": true } }, { "content": "[@@deriving ${0:TARGET}]", "doc": "", "grammar": "snu", "label": "[@@deriving ...]", "matches": { "@@": true }, "options": { "head": true } } ], "perl": [ { "content": "#!/opt/local/bin/perl\nuse strict;\nuse warnings;\n${1}", "doc": "", "grammar": "snu", "label": "", "matches": { "perl": true }, "options": {} }, { "content": "sub ${1:#:function_name} {\n\t${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "sub": true }, "options": {} }, { "content": "if (${1:#:condition}) {\n\t${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": {} }, { "content": "if (${1:#:condition}) {\n\t${2:TARGET}\n} else {\n\t${3:#:else...}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "ife": true }, "options": {} }, { "content": "if (${1:#:condition}) {\n\t${2:TARGET}\n} elsif (${3}) {\n\t${4:#:elsif...}\n} else {\n\t${5:#:else...}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "ifee": true }, "options": {} }, { "content": "${1:#:expression} if ${2:#:condition};", "doc": "", "grammar": "snu", "label": "", "matches": { "xif": true }, "options": {} }, { "content": "while (${1:#:condition}) {\n\t${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "wh", "matches": { "while": true }, "options": {} }, { "content": "${1:#:expression} while ${2:#:condition};", "doc": "", "grammar": "snu", "label": "xwh", "matches": { "xwhile": true }, "options": {} }, { "content": "for (my $${1:#:var} = 0; $$1 < ${2:#:expression}; $$1++) {\n\t${3:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": {} }, { "content": "for ${1} (${2:#:expression}){\n\t${3:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "fore": true }, "options": {} }, { "content": "${1:#:expression} for @${2:#:array};", "doc": "", "grammar": "snu", "label": "", "matches": { "xfor": true }, "options": {} }, { "content": "unless (${1:condition}) {\n\t${2:TARGET}\n}", "doc": "", "grammar": "snu", "label": "un", "matches": { "unless": true }, "options": {} }, { "content": "${1:#:expression} unless ${2:#:condition};", "doc": "", "grammar": "snu", "label": "xun", "matches": { "xunless": true }, "options": {} }, { "content": "eval {\n\t${1:TARGET}\n};\nif ($@) {\n\t${2:#:handle failure...}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "eval": true }, "options": {} } ], "php": [ { "content": "${1:public }function ${2:#:FunctionName}(${3})\n{\n\t${4:TARGET}\n}", "doc": "", "grammar": "snu", "label": "public function () {}", "matches": { "function": true }, "options": {} }, { "content": "function (${1})${2: use } {\n\t${3:TARGET}\n}", "doc": "", "grammar": "snu", "label": "function () {}", "matches": { "function_literal": true }, "options": { "word": true } }, { "content": "${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "pecho": true }, "options": {} }, { "content": "${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "echoh": true }, "options": {} }, { "content": "}): ?>\n${0:TARGET}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "pforeach": true }, "options": {} }, { "content": "\n${2:TARGET}\n\n${0}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "pifelse": true }, "options": {} }, { "content": "\n${0:TARGET}\n", "doc": "", "grammar": "snu", "label": "", "matches": { "pif": true }, "options": {} }, { "content": "", "doc": "", "grammar": "snu", "label": "", "matches": { "pelse": true }, "options": {} }, { "content": "${0} ?>", "doc": "", "grammar": "snu", "label": "", "matches": { "pthis": true }, "options": {} }, { "content": "${0} ?>", "doc": "", "grammar": "snu", "label": "", "matches": { "pethis": true }, "options": {} }, { "content": "/**\n * ${3:#:undocumented class variable}\n *\n * @var ${4:#:string}\n **/\n${1:#:var} $${2};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "doc_class_var": true }, "options": {} }, { "content": "/**\n * ${3:#:undocumented constant}\n **/\ndefine(${1} ${2});${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "doc_constant": true }, "options": {} }, { "content": "/**\n * ${4:#:undocumented function}\n *\n * @return ${5:void}\n * @author ${6}\n **/\n${1}function ${2}(${3});${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "doc_interface_function": true }, "options": {} }, { "content": "/**\n * ${4:#:undocumented function}\n *\n * @return ${5:void}\n * @author ${6}\n **/\n${1}function ${2}(${3})\n{\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "doc_function": true }, "options": {} }, { "content": "/**\n * ${1}\n *\n * @author ${2}\n * @version ${3}\n * @copyright ${4}\n * @package ${5:default}\n **/\n/**\n * Define DocBlock\n **/", "doc": "", "grammar": "snu", "label": "", "matches": { "doch": true }, "options": {} }, { "content": "/**\n * ${2:#:undocumented class}\n *\n * @package ${3:default}\n * @author ${4}\n **/\ninterface ${1}\n{\n\t${0:TARGET}\n} // END interface $1", "doc": "", "grammar": "snu", "label": "", "matches": { "doci": true }, "options": {} }, { "content": "/**\n * ${0}\n */", "doc": "", "grammar": "snu", "label": "", "matches": { "doc": true }, "options": {} }, { "content": "/**\n * ${1}\n */\nclass ${2:#:ClassName}${3:#:extends}\n{\n\t$5\n\tfunction ${4:__construct}(${5:#:argument})\n\t{\n\t\t${0:# code...}\n\t}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "class_with_constructor": true }, "options": {} }, { "content": "class ${2:#:ClassName} {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "class": true }, "options": { "head": true } }, { "content": "${1}defined('${2}')${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "def": true }, "options": {} }, { "content": "do {\n\t${0:TARGET}\n} while (${1:#:condition});", "doc": "", "grammar": "snu", "label": "", "matches": { "dowhile": true }, "options": { "head": true } }, { "content": "$${1:#:retVal} = (${2:#:condition}) ? ${3:#:a} : ${4:#:b};", "doc": "", "grammar": "snu", "label": "", "matches": { "if?": true }, "options": { "head": true } }, { "content": "if (${1:#:condition}) {\n\t${2:TARGET}\n} else {\n\t${3:#:code...}\n}\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "ifelse": true }, "options": { "head": true } }, { "content": "if (${1:#:condition}) {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": { "head": true } }, { "content": "var_dump(${0:TARGET});", "doc": "", "grammar": "snu", "label": "", "matches": { "var_dump": true }, "options": { "head": true } }, { "content": "print_r(${1});", "doc": "", "grammar": "snu", "label": "", "matches": { "p": true }, "options": { "head": true } }, { "content": "echo \"${1:#:string}\";", "doc": "", "grammar": "snu", "label": "", "matches": { "echo": true }, "options": { "head": true } }, { "content": "printf(\"${1:#:string}\\n\"${2:, });", "doc": "", "grammar": "snu", "label": "", "matches": { "println": true }, "options": { "head": true } }, { "content": "else {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "else": true }, "options": {} }, { "content": "elseif (${1:#:condition}) {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "elseif": true }, "options": {} }, { "content": "for ($${1:i}=${2:0}; $$1 < ${3}; $$1++) {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": { "head": true } }, { "content": "foreach ($${1:#:variable} as $${2:#:key}${3: =>} $${4:#:value}) {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "foreach-hashmap": true }, "options": {} }, { "content": "foreach ($${1:#:variable} as $${2:#:x}) {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "foreach": true, "foreach-list": true }, "options": { "head": true } }, { "content": "function __construct(${1})\n{\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "construct": true }, "options": { "head": true } }, { "content": "<<<${1:HTML}\n${2:TARGET:#:content here}\n$1;", "doc": "", "grammar": "snu", "label": "", "matches": { "here": true }, "options": {} }, { "content": "include '${1:#:file}';${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "inc": true }, "options": { "head": true } }, { "content": "include_once '${1:#:file}';${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "inco": true }, "options": { "head": true } }, { "content": "$${1:#:arrayName} = array('${2}' => ${3} ${0});", "doc": "", "grammar": "snu", "label": "", "matches": { "array": true }, "options": {} }, { "content": "require '${1:#:file}';${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "req": true }, "options": { "head": true } }, { "content": "require_once '${1:#:file}';${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "reqo": true }, "options": { "head": true } }, { "content": "return${1};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "ret": true }, "options": { "head": true } }, { "content": "return false;", "doc": "", "grammar": "snu", "label": "", "matches": { "retf": true }, "options": { "head": true } }, { "content": "return true;", "doc": "", "grammar": "snu", "label": "", "matches": { "rett": true }, "options": { "head": true } }, { "content": "case '${1:#:variable}':\n\t${0:#:code...}\n\tbreak;", "doc": "", "grammar": "snu", "label": "", "matches": { "case": true }, "options": { "head": true } }, { "content": "switch (${1:#:variable}) {\ncase '${2:#:value}':\n\t${3:#:code...}\n\tbreak;\n${0}\ndefault:\n\t${4:#:code...}\n\tbreak;\n}", "doc": "", "grammar": "snu", "label": "sw", "matches": { "switch": true }, "options": { "head": true } }, { "content": "try {\n\t${1:TARGET}\n} catch (${2:#:Exception} $e) {\n\t${3:#:code}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "try": true }, "options": { "head": true } }, { "content": "try {\n\t${1:TARGET}\n} catch (${2:#:Exception} $e) {\n\t${3:#:code}\n} finally {\n\t${4:#:code}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "tryf": true }, "options": { "head": true } }, { "content": "throw new ${1}Exception(${2:\"${3:#:Error Processing Request}\"}${4:});\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "throw": true }, "options": { "head": true } }, { "content": "while (${1}) {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "wh", "matches": { "while": true }, "options": { "head": true } }, { "content": "\\$GLOBALS['${1:#:variable}']${2: = }${3:#:something}${4:;}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "gloabals": true }, "options": {} }, { "content": "\\$_COOKIE['${1:#:variable}']", "doc": "", "grammar": "snu", "label": "", "matches": { "cookie": true }, "options": {} }, { "content": "\\$_ENV['${1:#:variable}']", "doc": "", "grammar": "snu", "label": "", "matches": { "env": true }, "options": {} }, { "content": "\\$_FILES['${1:#:variable}']", "doc": "", "grammar": "snu", "label": "", "matches": { "files": true }, "options": {} }, { "content": "\\$_GET['${1:#:variable}']", "doc": "", "grammar": "snu", "label": "", "matches": { "get": true }, "options": {} }, { "content": "\\$_POST['${1:#:variable}']", "doc": "", "grammar": "snu", "label": "", "matches": { "post": true }, "options": {} }, { "content": "\\$_REQUEST['${1:#:variable}']", "doc": "", "grammar": "snu", "label": "", "matches": { "request": true }, "options": {} }, { "content": "\\$_SERVER['${1:#:variable}']", "doc": "", "grammar": "snu", "label": "", "matches": { "server": true }, "options": {} }, { "content": "\\$_SESSION['${1:#:variable}']", "doc": "", "grammar": "snu", "label": "", "matches": { "session": true }, "options": {} }, { "content": "var_export(${1}, true)", "doc": "", "grammar": "snu", "label": "", "matches": { "inspect": true, "var_export": true }, "options": {} } ], "prolog": [ { "content": ":- initialization main.\nmain :-\n current_prolog_flag(argv, Args),\n writeln(Args),\n halt.", "doc": "", "grammar": "snu", "label": "", "matches": { "main": true }, "options": { "head": true } }, { "content": ":- module(${1:name}, [${0:export}]).", "doc": "", "grammar": "snu", "label": "", "matches": { "module": true }, "options": { "head": true } }, { "content": ":- begin_tests(${1:name}).\n ${0}\n:- end_tests($1).", "doc": "", "grammar": "snu", "label": "", "matches": { "begintest": true }, "options": { "head": true } }, { "content": ":- run_tests.\n:- halt.", "doc": "", "grammar": "snu", "label": "", "matches": { "runtest": true }, "options": { "head": true } }, { "content": "test(${1:case}, [true(${2:var} = ${3:value})]) :-\n ${0:goal}.", "doc": "", "grammar": "snu", "label": "", "matches": { "test": true }, "options": { "head": true } } ], "python": [ { "content": "#!/usr/bin/env python3\n${0}", "doc": "", "grammar": "snu", "label": "#!/usr/bin/env python3", "matches": { "#!": true, "shebang": true }, "options": { "head": true } }, { "content": "class ${1:#:name}(${2:object}):\n\tdef __init__(self, ${3}):\n\t\t${0:pass}", "doc": "", "grammar": "snu", "label": "class Class(...): ...", "matches": { "class": true }, "options": { "head": true } }, { "content": "class ${1:#:name}(${2:object}):\n\t\"\"\"${3:#:class documentation}\"\"\"\n\tdef __init__(self, ${4}):\n\t\t\"\"\"${5:#:__init__ documentation}\"\"\"\n\t\t${0:pass}", "doc": "", "grammar": "snu", "label": "class Class(...): \"...\"", "matches": { "classd": true }, "options": { "head": true } }, { "content": "def ${1:#:name}(${2}):\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "def function(...): ...", "matches": { "def": true }, "options": { "head": true } }, { "content": "def ${1:#:name}(${2}):\n\t\"\"\"${3:#:function documentation}\"\"\"\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "def function(...): \"\"\"...\"\"\"", "matches": { "defd": true }, "options": { "head": true } }, { "content": "def ${1:#:name}(self, ${2}):\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "def method(self, ...): ...", "matches": { "defm": true }, "options": { "head": true } }, { "content": "def ${1:#:name}(self, ${2}):\n\t\"\"\"${3:#:method documentation}\"\"\"\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "def method(self, ...): \"...\"", "matches": { "defmd": true }, "options": { "head": true } }, { "content": "elif ${1:#:condition}:\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "elif ...: ...", "matches": { "elif": true }, "options": { "head": true } }, { "content": "else:\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "else: ...", "matches": { "else": true }, "options": { "head": true } }, { "content": "with open(${1:#:file}, '${2:r}') as ${3:f}:\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "", "matches": { "fileidiom": true, "with_open": true }, "options": { "head": true } }, { "content": "for ${1:#:value} in ${2:#:list}:\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "for ... in ...: ...", "matches": { "for": true }, "options": { "head": true } }, { "content": "if ${1:#:condition}:\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "if ...: ...", "matches": { "if": true }, "options": { "head": true } }, { "content": "if __name__ == '__main__':\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "if __name__ == '__main__': ...", "matches": { "ifmain": true, "main": true }, "options": { "head": true } }, { "content": "try:\n\t${1:pass}\nexcept ${2:#:ExceptionClass}:\n\t${3:pass}", "doc": "", "grammar": "snu", "label": "try: ... except ...: ...", "matches": { "tryexcept": true }, "options": { "head": true } }, { "content": "try:\n\t${1:pass}\nfinally:\n\t${2:pass}", "doc": "", "grammar": "snu", "label": "try: ... finally: ...", "matches": { "tryfinally": true }, "options": { "head": true } }, { "content": "while ${1:#:condition}:\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "while ...: ...", "matches": { "while": true }, "options": { "head": true } }, { "content": "with ${1:open}(${2:#:filename, mode}) as ${3:f}:\n\t${0:pass}", "doc": "", "grammar": "snu", "label": "with {func}({file}) as :", "matches": { "with": true }, "options": { "head": true } }, { "content": "[$1 for ${1:x} in ${2:#:list} if ${3:#:condition}]", "doc": "", "grammar": "snu", "label": "[x for x in {list} if {condition}]", "matches": { "filter": true }, "options": {} }, { "content": "print(${0:#:TARGET})", "doc": "", "grammar": "snu", "label": "", "matches": { "print": true }, "options": { "word": true } }, { "content": "# -*- coding: utf-8 -*-", "doc": "", "grammar": "snu", "label": "# -*- coding ...", "matches": { "coding": true }, "options": {} }, { "content": "getattr(${1:#:obj}, ${2:#:attr})", "doc": "", "grammar": "snu", "label": "getattr(..., ...)", "matches": { "getattr": true }, "options": { "word": true } }, { "content": "setattr(${1:#:obj}, ${2:#:attr}, ${3:#:value})", "doc": "", "grammar": "snu", "label": "setattr(..., ...)", "matches": { "setattr": true }, "options": {} }, { "content": "hasattr(${1:#:obj}, ${2:#:attr})", "doc": "", "grammar": "snu", "label": "hasattr(..., ...)", "matches": { "hasattr": true }, "options": { "word": true } }, { "content": "import pdb; pdb.set_trace()", "doc": "", "grammar": "snu", "label": "import pdb..", "matches": { "pdb": true }, "options": {} }, { "content": "import ipdb; ipdb.set_trace()", "doc": "", "grammar": "snu", "label": "import ipdb..", "matches": { "ipdb": true }, "options": {} }, { "content": "import pudb; pudb.set_trace()", "doc": "", "grammar": "snu", "label": "import pudb..", "matches": { "pudb": true }, "options": {} }, { "content": "from PyQt5.QtCore import pyqtRemoveInputHook\npyqtRemoveInputHook()\nimport pdb; pdb.set_trace()", "doc": "", "grammar": "snu", "label": "removeInputHook...pdb", "matches": { "qtpdb": true }, "options": {} }, { "content": "from IPython import embed; embed()", "doc": "", "grammar": "snu", "label": "import ipython..", "matches": { "ipy": true }, "options": {} } ], "rails": [ { "content": "render", "doc": "", "grammar": "snu", "label": "render", "matches": { "rr": true }, "options": {} }, { "content": "render action: ", "doc": "", "grammar": "snu", "label": "render :action", "matches": { "ra": true }, "options": {} }, { "content": "render controller: ", "doc": "", "grammar": "snu", "label": "render :controller", "matches": { "rc": true }, "options": {} }, { "content": "render file: ", "doc": "", "grammar": "snu", "label": "render :file", "matches": { "rf": true }, "options": {} }, { "content": "render inline: ", "doc": "", "grammar": "snu", "label": "render :inline", "matches": { "ri": true }, "options": {} }, { "content": "render json: ", "doc": "", "grammar": "snu", "label": "render :json", "matches": { "rj": true }, "options": {} }, { "content": "render layout: ", "doc": "", "grammar": "snu", "label": "render :layout", "matches": { "rl": true }, "options": {} }, { "content": "render partial: ", "doc": "", "grammar": "snu", "label": "render :partial", "matches": { "rp": true }, "options": {} }, { "content": "render text: ", "doc": "", "grammar": "snu", "label": "render :text", "matches": { "rt": true }, "options": {} }, { "content": "render xml: ", "doc": "", "grammar": "snu", "label": "render :xml", "matches": { "rx": true }, "options": {} }, { "content": "distance_of_time_in_words", "doc": "", "grammar": "snu", "label": "distance_of_time_in_words", "matches": { "dotiw": true }, "options": {} }, { "content": "time_ago_in_words", "doc": "", "grammar": "snu", "label": "time_ago_in_words", "matches": { "taiw": true }, "options": {} }, { "content": "redirect_to", "doc": "", "grammar": "snu", "label": "redirect_to", "matches": { "re": true }, "options": {} }, { "content": "redirect_to action: ", "doc": "", "grammar": "snu", "label": "redirect_to :action", "matches": { "rea": true }, "options": {} }, { "content": "redirect_to controller: ", "doc": "", "grammar": "snu", "label": "redirect_to :controller", "matches": { "rec": true }, "options": {} }, { "content": "respond_to", "doc": "", "grammar": "snu", "label": "respond_to", "matches": { "rst": true }, "options": {} }, { "content": "belongs_to", "doc": "", "grammar": "snu", "label": "belongs_to", "matches": { "bt": true }, "options": {} }, { "content": "has_one", "doc": "", "grammar": "snu", "label": "has_one", "matches": { "ho": true }, "options": {} }, { "content": "has_many", "doc": "", "grammar": "snu", "label": "has_many", "matches": { "hm": true }, "options": {} }, { "content": "has_and_belongs_to_many", "doc": "", "grammar": "snu", "label": "has_and_belongs_to_many", "matches": { "habtm": true }, "options": {} }, { "content": "composed_of", "doc": "", "grammar": "snu", "label": "composed_of", "matches": { "co": true }, "options": {} }, { "content": "validates_associated", "doc": "", "grammar": "snu", "label": "validates_associated", "matches": { "va": true }, "options": {} }, { "content": "validates_acceptance_of", "doc": "", "grammar": "snu", "label": "validates_acceptance_of", "matches": { "vb": true }, "options": {} }, { "content": "validates_confirmation_of", "doc": "", "grammar": "snu", "label": "validates_confirmation_of", "matches": { "vc": true }, "options": {} }, { "content": "validates_exclusion_of", "doc": "", "grammar": "snu", "label": "validates_exclusion_of", "matches": { "ve": true }, "options": {} }, { "content": "validates_format_of", "doc": "", "grammar": "snu", "label": "validates_format_of", "matches": { "vf": true }, "options": {} }, { "content": "validates_inclusion_of", "doc": "", "grammar": "snu", "label": "validates_inclusion_of", "matches": { "vi": true }, "options": {} }, { "content": "validates_length_of", "doc": "", "grammar": "snu", "label": "validates_length_of", "matches": { "vl": true }, "options": {} }, { "content": "validates_numericality_of", "doc": "", "grammar": "snu", "label": "validates_numericality_of", "matches": { "vn": true }, "options": {} }, { "content": "validates_presence_of", "doc": "", "grammar": "snu", "label": "validates_presence_of", "matches": { "vp": true }, "options": {} }, { "content": "validates_uniqueness_of", "doc": "", "grammar": "snu", "label": "validates_uniqueness_of", "matches": { "vu": true }, "options": {} }, { "content": "logger.debug", "doc": "", "grammar": "snu", "label": "logger.debug", "matches": { "logd": true }, "options": {} }, { "content": "logger.info", "doc": "", "grammar": "snu", "label": "logger.info", "matches": { "logi": true }, "options": {} }, { "content": "logger.warn", "doc": "", "grammar": "snu", "label": "logger.warn", "matches": { "logw": true }, "options": {} }, { "content": "logger.error", "doc": "", "grammar": "snu", "label": "logger.error", "matches": { "loge": true }, "options": {} }, { "content": "logger.fatal", "doc": "", "grammar": "snu", "label": "logger.fatal", "matches": { "logf": true }, "options": {} }, { "content": "action: ", "doc": "", "grammar": "snu", "label": "action:", "matches": { "action": true }, "options": {} }, { "content": "co________: ", "doc": "", "grammar": "snu", "label": "co________:", "matches": { "co_": true }, "options": {} }, { "content": "id: ", "doc": "", "grammar": "snu", "label": "id:", "matches": { "id": true }, "options": {} }, { "content": "object: ", "doc": "", "grammar": "snu", "label": "object:", "matches": { "object": true }, "options": {} }, { "content": "partial: ", "doc": "", "grammar": "snu", "label": "partial:", "matches": { "partial": true }, "options": {} } ], "rst": [ { "content": "===========================\n${1:#:content_name}\n===========================\n.. contents:: contents_name\ntitle1\n====================================\nsubtitle1\n-----------------------------------\nsubtitle2\n-----------------------------------\nsubtitle3\n-----------------------------------\ntitle2\n====================================\nsubtitle1\n-----------------------------------\nsubtitle2\n-----------------------------------\nsubtitle3\n-----------------------------------\ntitle3\n====================================\nsubtitle1\n-----------------------------------\nsubtitle2\n-----------------------------------\nsubtitle3\n-----------------------------------", "doc": "", "grammar": "snu", "label": "", "matches": { "quickstart": true }, "options": { "head": true } }, { "content": ".. contents:: ${1:#:contents_name}", "doc": "", "grammar": "snu", "label": "", "matches": { "contnents": true }, "options": { "head": true } }, { "content": "${1:#:title}\n====================================", "doc": "", "grammar": "snu", "label": "", "matches": { "title": true }, "options": { "head": true } }, { "content": "${1:#:subtitle}\n-----------------------------------", "doc": "", "grammar": "snu", "label": "", "matches": { "subtitle": true }, "options": { "head": true } }, { "content": ".. code-block:: ${1:#:filetype}\n${2:#:content}", "doc": "", "grammar": "snu", "label": "code", "matches": { "code_block": true }, "options": { "head": true } }, { "content": "+------------------+------------+-----------------------+------------+\n|${1:#:cel} | | | |\n+==================+============+=======================+============+\n| | | | |\n+------------------+------------+-----------------------+------------+\n| | | | |\n+------------------+------------+-----------------------+------------+", "doc": "", "grammar": "snu", "label": "grid_table", "matches": { "table_grid": true }, "options": { "head": true } }, { "content": ":${1:#:text}:\n: :\n: :\n: :", "doc": "", "grammar": "snu", "label": "simple_table", "matches": { "table_simple": true }, "options": { "head": true } }, { "content": "-\n-\n-\n-", "doc": "", "grammar": "snu", "label": "", "matches": { "list": true }, "options": { "head": true } }, { "content": "- ${1:#:text}\n-\n-\n-", "doc": "", "grammar": "snu", "label": "", "matches": { "nested_list": true }, "options": { "head": true } }, { "content": "[#]", "doc": "", "grammar": "snu", "label": "", "matches": { "caption": true }, "options": { "head": true } }, { "content": ".. image:: ${1:#:path}", "doc": "", "grammar": "snu", "label": "", "matches": { "image": true }, "options": { "head": true } }, { "content": "**${1:#:text}**", "doc": "", "grammar": "snu", "label": "", "matches": { "strong": true }, "options": { "head": true } }, { "content": ".. toctree::\n\t:maxdepth: ${1:2}\n\t${2:#:FILES}", "doc": "", "grammar": "snu", "label": "directive_toctree", "matches": { "toctree": true }, "options": { "head": true } }, { "content": ".. code-block:: ${1:python}\n\t${1:#:TERGET}", "doc": "", "grammar": "snu", "label": "syntax", "matches": { "syntax": true }, "options": { "indent": true } }, { "content": ".. _${1:#:NAME}:\n${2:#:CURSOR}", "doc": "", "grammar": "snu", "label": "label", "matches": { "label": true }, "options": { "head": true } }, { "content": ".. contents::\n\t:depth: ${1:2}\n\t${2::local:}", "doc": "", "grammar": "snu", "label": "directive_content", "matches": { "content": true }, "options": { "head": true } }, { "content": ".. table:: ${1:#:TITLE}\n\t${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "directive_table", "matches": { "table": true }, "options": { "head": true } }, { "content": ".. csv-table:: ${1:#:TITLE}\n\t:header: \"${2:#:Header1}\", \"${3:#:Header2}\"${4:#:Headers}\n\t\"${5:#:Column1}\", \"${6:#:Column2}\"${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "directive_csvtable", "matches": { "csvtable": true }, "options": { "head": true } }, { "content": ".. ${1:#:NAME}:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "directive", "matches": { "directive": true }, "options": {} }, { "content": ".. note:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "note", "matches": { "note": true }, "options": {} }, { "content": ".. tip:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "tip", "matches": { "tip": true }, "options": {} }, { "content": ".. warning:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "warning", "matches": { "warning": true }, "options": {} }, { "content": ".. attention:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "attention", "matches": { "attention": true }, "options": {} }, { "content": ".. caution:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "caution", "matches": { "caution": true }, "options": {} }, { "content": ".. danger:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "danger", "matches": { "danger": true }, "options": {} }, { "content": ".. error:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "error", "matches": { "error": true }, "options": {} }, { "content": ".. hint:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "hint", "matches": { "hint": true }, "options": {} }, { "content": ".. important:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "important", "matches": { "important": true }, "options": {} }, { "content": ".. seealso:: ${0:#:CURSOR}", "doc": "", "grammar": "snu", "label": "seealso", "matches": { "seealso": true }, "options": {} } ], "ruby": [ { "content": "#!/usr/bin/env ruby\n${0}", "doc": "", "grammar": "snu", "label": "#!/usr/bin/env ruby", "matches": { "#!": true, "shebang": true }, "options": { "head": true } }, { "content": "if ${1:#:condition}\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "if ... end", "matches": { "if": true }, "options": {} }, { "content": "unless ${1:#:condition}\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "unless ... end", "matches": { "unless": true }, "options": {} }, { "content": "def ${1:#:method_name}\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "def ... end", "matches": { "def": true }, "options": {} }, { "content": "def ${1:#:method_name}\n ${2:TARGET}\nrescue ${3:#:StandardError} => ${4:error}\n ${0}\nend", "doc": "", "grammar": "snu", "label": "def ... rescue ... end", "matches": { "defr": true, "defrescue": true }, "options": {} }, { "content": "do\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "do ... end", "matches": { "do": true }, "options": {} }, { "content": "do |${1:#:var}|\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "do |var| ... end", "matches": { "dovar": true }, "options": {} }, { "content": "{\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "{ ... }", "matches": { "block": true }, "options": {} }, { "content": "{|${1:#:var}|\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "{|var| ... }", "matches": { "blockvar": true }, "options": {} }, { "content": "File.open(${1:#:filename}, '${2:#:mode}') do |${3:io}|\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "File.open(filename) do ... end", "matches": { "fileopen": true, "open": true }, "options": {} }, { "content": "end", "doc": "", "grammar": "snu", "label": "=> end?", "matches": { "edn": true }, "options": {} }, { "content": "# coding: utf-8\nrequire 'erb'\nputs ERB::Util.url_encode '${1}'", "doc": "", "grammar": "snu", "label": "", "matches": { "urlencode": true }, "options": {} }, { "content": "# coding: utf-8\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "enc": true, "encoding": true }, "options": {} }, { "content": "each do |${1:#:variable}|\n ${0}\nend", "doc": "", "grammar": "snu", "label": "", "matches": { "each": true }, "options": { "word": true } }, { "content": "each_byte {|${1:#:variable}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "each_byte": true }, "options": { "word": true } }, { "content": "each_char {|${1:#:variable}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "each_char": true }, "options": { "word": true } }, { "content": "each_index {|${1:#:variable}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "each_index": true }, "options": { "word": true } }, { "content": "each_key {|${1:#:variable}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "each_key": true }, "options": { "word": true } }, { "content": "each_line {|${1:#:variable}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "each_line": true }, "options": { "word": true } }, { "content": "each_with_index {|${1:#:variable}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "each_with_index": true }, "options": { "word": true } }, { "content": "each_pair {|${1:#:key}, ${2:value}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "each_pair": true }, "options": { "word": true } }, { "content": "each_pair do |${1:key}, ${2:value}|\n ${0}\nend", "doc": "", "grammar": "snu", "label": "", "matches": { "each_pair_do": true }, "options": { "word": true } }, { "content": "map {|${1:#:variable}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "map": true }, "options": { "word": true } }, { "content": "sort {|${1:x}, ${2:y}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "sort": true }, "options": { "word": true } }, { "content": "sort_by {|${1:#:variable}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "sort_by": true }, "options": { "word": true } }, { "content": "-> (${1:#:args}) { ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "lambda": true }, "options": { "word": true } }, { "content": "lambda {|${1:#:args}| ${0} }", "doc": "", "grammar": "snu", "label": "", "matches": { "lambda-keyword": true }, "options": { "word": true } }, { "content": "if __FILE__ == \\$0\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "", "matches": { "main": true }, "options": { "head": true } }, { "content": "File.dirname(File.expand_path(__FILE__))", "doc": "", "grammar": "snu", "label": "File.dirname(...)", "matches": { "__dir__": true, "filedir-legacy-compatibility": true }, "options": {} }, { "content": "Dir.glob(${1:'**/*'}) do |fname|\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "", "matches": { "glob": true }, "options": { "head": true } }, { "content": "case ${1}\nwhen ${2}\n ${3}\nelse\n ${0}\nend", "doc": "", "grammar": "snu", "label": "case ... when ... else ... end", "matches": { "case": true }, "options": { "head": true } } ], "rust": [ { "content": "fn ${1:#:func_name}(${2:#:args}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "fn () {}", "matches": { "fn": true }, "options": { "head": true } }, { "content": "fn ${1:#:func_name}(${2:#:args}) -> ${3:#:()} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "fn () {}", "matches": { "fn-": true }, "options": { "head": true } }, { "content": "pub fn ${1:#:func_name}(${2:#:args}) -> ${3:#:()} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "pubfn () {}", "matches": { "pubfn": true }, "options": { "head": true } }, { "content": "#[test]\nfn ${1:#:test_function_name}() {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "test": true }, "options": { "head": true } }, { "content": "pub fn new(${1}) -> ${2:#:Name} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "pub fn new() {}", "matches": { "pubnew": true }, "options": { "head": true } }, { "content": "impl ${1} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "impl": true }, "options": { "head": true } }, { "content": "impl ${1} for ${2} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "implfor": true }, "options": { "head": true } }, { "content": "trait ${1} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "trait": true }, "options": { "head": true } }, { "content": "${1:#:macro_name}!(${2})${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "macro": true }, "options": {} }, { "content": "bitflags! {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "bitflags!", "matches": { "bfl": true }, "options": {} }, { "content": "println!(${1:\"\\{\\}\"}, ${0:TARGET});", "doc": "", "grammar": "snu", "label": "println!", "matches": { "pln": true }, "options": {} }, { "content": "format!(\"${1:\\{\\}}\", ${0:TARGET});", "doc": "", "grammar": "snu", "label": "format!", "matches": { "fm": true }, "options": {} }, { "content": "extern crate ${0:TARGET};", "doc": "", "grammar": "snu", "label": "extern crate", "matches": { "ec": true }, "options": { "head": true } }, { "content": "#![feature(phase)]\n#[phase(plugin, link)] extern crate log;", "doc": "", "grammar": "snu", "label": "extern crate log", "matches": { "ecl": true }, "options": { "head": true } }, { "content": "#![crate_name=${1:#:crate_name}]", "doc": "", "grammar": "snu", "label": "", "matches": { "crate": true }, "options": { "head": true } }, { "content": "#[derive(${1:TARGET})]${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "derive": true }, "options": { "head": true } }, { "content": "mod ${1:#:mod_name} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "mod": true }, "options": { "head": true } }, { "content": "let ${1:TARGET} = ${2};${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "let": true }, "options": {} }, { "content": "if ${1:#:condition} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "if {}", "matches": { "if": true }, "options": {} }, { "content": "else {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "else": true }, "options": {} }, { "content": "} else if (${1:#:condition}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "elseif": true }, "options": {} }, { "content": "if ${1:#:condition} {\n ${2:TARGET}\n} else {\n ${3}\n}", "doc": "", "grammar": "snu", "label": "if () {} else {}", "matches": { "ifelse": true }, "options": {} }, { "content": "for ${1} in ${2} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "forin {}", "matches": { "forin": true }, "options": {} }, { "content": "match ${1:TARGET} {\n ${2:#:pattern} => ${3:#expr},${4}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "match": true }, "options": {} }, { "content": "${1:TARGET} => ${2:#expr},${3}", "doc": "", "grammar": "snu", "label": "", "matches": { "case": true, "mcase": true }, "options": {} }, { "content": "struct ${1} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "struct": true }, "options": { "head": true } }, { "content": "pub struct ${1} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "pub struct", "matches": { "pubstruct": true }, "options": { "head": true } }, { "content": "enum ${1} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "enum": true }, "options": { "head": true } }, { "content": "Option<${1:()}>${2}", "doc": "", "grammar": "snu", "label": "Option", "matches": { "opt": true }, "options": {} }, { "content": "Result<${1:#:~str}, ${2:#:()}>${3}", "doc": "", "grammar": "snu", "label": "Result", "matches": { "res": true }, "options": {} } ], "scala": [ { "content": "match {\n\tcase ${1} => ${0}\n}", "doc": "", "grammar": "snu", "label": "match {\\n case .. => ..", "matches": { "match": true }, "options": {} }, { "content": "case ${1} => ${0}", "doc": "", "grammar": "snu", "label": "case .. => ..", "matches": { "case": true }, "options": {} }, { "content": "try {\n\t${1:TARGET}\n} catch {\n\tcase e${2:: Exception} => ${0}\n}", "doc": "", "grammar": "snu", "label": "try {} catch { case ... }", "matches": { "try": true }, "options": { "head": true } }, { "content": "for {\n\t${1}\n} yield ${2}", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": {} }, { "content": "if (${1}) {\n\t${2}\n}${3: else}", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": {} }, { "content": "println(${1})", "doc": "", "grammar": "snu", "label": "println()", "matches": { "p": true }, "options": {} }, { "content": "println('${1:#:name}, $1)", "doc": "", "grammar": "snu", "label": "println('name, name)", "matches": { "pn": true }, "options": {} }, { "content": "_ = println(${1})", "doc": "", "grammar": "snu", "label": "p in for", "matches": { "pf": true }, "options": {} }, { "content": "object ${1:X} {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "object": true }, "options": { "head": true } }, { "content": "class ${1:X()} {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "class": true }, "options": { "head": true } }, { "content": "should \"${1}\" in {\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "should-scalatest": true }, "options": { "word": true } }, { "content": "import akka.actor.{ActorSystem, Actor, ActorLogging, Props}\nobject ${1:X} {\n\tdef props(${2}) = Props(new X($2))\n}\nclass $1($2) extends Actor with ActorLogging {\n\tdef receive = {\n\t\tcase e =>\n\t\t\t${0:TARGET:println(e)}\n\t}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "akka-actor": true }, "options": { "head": true } }, { "content": "case class ${1}(${2}: ${0})", "doc": "", "grammar": "snu", "label": "case class ..(..: ..)", "matches": { "cclass": true }, "options": { "head": true } } ], "scheme": [ { "content": "(cond\n ((${1}) ${2})\n (${0:else}))", "doc": "", "grammar": "snu", "label": "", "matches": { "cond": true }, "options": {} }, { "content": "(case ${1}\n ((${2}) ${3})\n (${0:else}))", "doc": "", "grammar": "snu", "label": "", "matches": { "case": true }, "options": {} }, { "content": "(use gauche.test)\n(test-start \"${1}.scm\")\n(load \"$1.scm\")\n(test* \"${2}\" ${3:expected} ${4:actual})", "doc": "", "grammar": "snu", "label": "(use gauche.test)(test-start ...", "matches": { "gauche-testsuite": true }, "options": { "head": true } } ], "scss": [ { "content": "@mixin ${1:NAME}(${2:#:ARGS}) {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "@mixin(...){...}", "matches": { "mixin": true }, "options": { "head": true } }, { "content": "@include ${1:NAME}(${2:#:ARGS});", "doc": "", "grammar": "snu", "label": "@include ...", "matches": { "include": true }, "options": {} }, { "content": "@import '${0:TARGET}';", "doc": "", "grammar": "snu", "label": "@import '...';", "matches": { "import": true }, "options": { "head": true } }, { "content": "@extend ${0:TARGET};", "doc": "", "grammar": "snu", "label": "@extend ...;", "matches": { "extend": true }, "options": { "head": true } } ], "sh": [ { "content": "#!/bin/${1:sh}\n${0}", "doc": "", "grammar": "snu", "label": "#!/bin/sh", "matches": { "#!": true, "shebang": true }, "options": { "head": true } }, { "content": "if [ ${1:#:condition} ]; then\n\t${0:TARGET}\nfi", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": {} }, { "content": "else\n\t${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "el": true }, "options": {} }, { "content": "elif [ ${1:#:condition} ]; then\n\t${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "elif": true }, "options": {} }, { "content": "for ${1:i} in ${2:#:words}; do\n\t${0:TARGET}\ndone", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": {} }, { "content": "while ${1:#:condition} ; do\n\t${0:TARGET}\ndone", "doc": "", "grammar": "snu", "label": "", "matches": { "wh": true, "while": true }, "options": {} }, { "content": "until ${1:#:condition} ; do\n\t${0:TARGET}\ndone", "doc": "", "grammar": "snu", "label": "", "matches": { "until": true }, "options": {} }, { "content": "<< ${1:EOF}\n\t${0:#:TARGET}\n$1", "doc": "", "grammar": "snu", "label": "", "matches": { "h <<": true, "heredoc": true }, "options": {} }, { "content": "#!/usr/bin/env ${1}", "doc": "", "grammar": "snu", "label": "", "matches": { "env": true }, "options": {} }, { "content": "${1:TMPFILE}=$(mktemp ${2:XXX})\ntrap \"rm -f '${$1}'\" 0 # EXIT\ntrap \"rm -f '${$1}'; exit 1\" 2 # INT\ntrap \"rm -f '${$1}'; exit 1\" 1 15 # HUP TERM\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "tmp": true }, "options": {} }, { "content": "${1:#:name}()\n{\n\t${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "func": true, "function": true }, "options": {} }, { "content": "if [[ $${1:string} =~ ${2:^regexp.*} ]]; then\n\t${0}\nfi", "doc": "", "grammar": "snu", "label": "=~", "matches": { "match-regexp": true }, "options": { "head": true } }, { "content": "${1:name}=\"${2:something}\"", "doc": "", "grammar": "snu", "label": "var-assign", "matches": { "assign": true }, "options": { "head": true } }, { "content": "case \"$${1:{name\\}}\" in\n\t${2:pattern*})\n\t\t${0}\n\t\t;;\n\t*)\n\t\t${3:echo \"$$1 Didn't match anything\"}\nesac", "doc": "", "grammar": "snu", "label": "", "matches": { "case": true }, "options": { "head": true } }, { "content": "echo \"${0:TARGET}\" 1>&2", "doc": "", "grammar": "snu", "label": "", "matches": { "warn": true }, "options": { "head": true } }, { "content": "echo \"${0:TARGET}\" 1>&2\nexit 1", "doc": "", "grammar": "snu", "label": "", "matches": { "abort": true }, "options": { "head": true } } ], "sql": [ { "content": "CREATE TABLE ${1:cities} (\n ${0:name varchar(80), country_name text}\n);", "doc": "", "grammar": "snu", "label": "CREATE TABLE { ... }", "matches": { "CREATE_TABLE": true }, "options": { "head": true } }, { "content": "CREATE INDEX ${1:_name} ON ${2:cities} (${3:name});", "doc": "", "grammar": "snu", "label": "CREATE INDEX ... ON ... ( ... )", "matches": { "CREATE_INDEX": true }, "options": { "head": true } }, { "content": "DROP TABLE IF EXISTS ${1:table};", "doc": "", "grammar": "snu", "label": "DROP TABLE IF EXISTS ...", "matches": { "DROP_TABLE": true }, "options": {} }, { "content": "ALTER TABLE ${1:table}\nMODIFY ${2:column} ${3:new_column_desc};", "doc": "", "grammar": "snu", "label": "ALTER TABLE ... MODIFY ...", "matches": { "ALTER_TABLE": true }, "options": {} }, { "content": "TRUNCATE TABLE ${1:table};", "doc": "", "grammar": "snu", "label": "TRUNCATE TABLE ...", "matches": { "TRUNCATE_TABLE": true }, "options": {} }, { "content": "INSERT INTO ${1:cities}\nVALUES (${0:'Vancouver', 'Canada'});", "doc": "", "grammar": "snu", "label": "INSERT INTO ... VALUES ( ... )", "matches": { "INSERT_DATA": true }, "options": { "head": true } }, { "content": "UPDATE ${1:table}\nSET ${2:column} = ${3:value}\nWHERE ${4:condition};", "doc": "", "grammar": "snu", "label": "UPDATE ... SET ... WHERE ...", "matches": { "UPDATE_DATA": true }, "options": {} }, { "content": "SELECT ${1:*}\nFROM ${2:cities} ${3:WHERE area = 'Asia'}\n${4: ORDER BY distance}\n${5: LIMIT 30};", "doc": "", "grammar": "snu", "label": "SELECT * from ... ORDER BY ... LIMIT ...", "matches": { "SELECT_DATA": true }, "options": { "head": true } }, { "content": "SELECT ${1:*}\nFROM ${2:table1} ${3:T1}\nJOIN ${4:table2} ${5:T2}\nON T1.${6:column1} = T2.${7:column2}", "doc": "", "grammar": "snu", "label": "SELECT * FROM T1 JOIN T2 ... ON", "matches": { "SELECT_JOIN_DATA": true }, "options": {} }, { "content": "DELETE FROM ${1:table}\nWHERE ${2:condition};", "doc": "", "grammar": "snu", "label": "DELETE FROM ... WHERE ...", "matches": { "DELETE_DATA": true }, "options": {} }, { "content": "BEGIN TRANSACTION;\n${0:TARGET}\nCOMMIT;", "doc": "", "grammar": "snu", "label": "", "matches": { "BEGIN TRANSACTION": true, "TRANSACTION": true }, "options": { "head": true } } ], "sshconfig": [ { "content": "Host ${1:name}\n\tHostName $1.${2:domain}\n\tPort ${3}\n\t${4:User }", "doc": "", "grammar": "snu", "label": "", "matches": { "Host": true }, "options": { "head": true } } ], "swift": [ { "content": "struct ${1:name} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "struct": true }, "options": { "word": true } }, { "content": "class ${1:name} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "class": true }, "options": { "word": true } }, { "content": "enum ${1:name} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "enum": true }, "options": { "word": true } }, { "content": "case ${1:pattern}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "case": true }, "options": { "head": true } }, { "content": "protocol ${1:name} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "protocol": true }, "options": { "word": true } }, { "content": "var ${1:name}: ${2:Int}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "var": true }, "options": { "word": true } }, { "content": "let ${1:name}: ${2:Int}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "let": true }, "options": { "word": true } }, { "content": "extension ${1:Int} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "extension": true }, "options": {} }, { "content": "func ${1:name}(${2:#:arguments}) -> ${3:Int}${0}", "doc": "", "grammar": "snu", "label": "func name(...) -> Type { ... }", "matches": { "func": true }, "options": { "word": true } }, { "content": "func ${1:name}(${2:#:arguments})${0}", "doc": "", "grammar": "snu", "label": "func name(...) { ... }", "matches": { "void": true }, "options": { "word": true } }, { "content": "for var ${1:i = 0}; ${2:i < j}; ${3:i++} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": { "head": true } }, { "content": "for ${1:item} in ${2:collection} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "iter": true }, "options": { "head": true } }, { "content": "while ${1:false} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "while": true }, "options": { "head": true } }, { "content": "repeat {\n ${0:TARGET}\n} while ${1:false}", "doc": "", "grammar": "snu", "label": "", "matches": { "repeat": true }, "options": { "head": true } }, { "content": "if ${1:false} {\n ${0:TARGET}\n}${9}", "doc": "", "grammar": "snu", "label": "", "matches": { "if": true }, "options": { "word": true } }, { "content": "else if ${1:false} {\n ${0:TARGET}\n}${9}", "doc": "", "grammar": "snu", "label": "", "matches": { "elif": true }, "options": { "word": true } }, { "content": "else {\n ${0:TARGET}\n}${9}", "doc": "", "grammar": "snu", "label": "", "matches": { "else": true }, "options": { "word": true } }, { "content": "if ${1:let} ${2:name} = ${3:expression} else {\n ${0:TARGET}\n}${9}", "doc": "", "grammar": "snu", "label": "if let/case ... { ... }", "matches": { "optional": true }, "options": { "head": true } }, { "content": "guard let ${1} = ${2} else {\n ${0:TARGET}\n}\n${9}", "doc": "", "grammar": "snu", "label": "guard let ... else { ... }", "matches": { "guard": true }, "options": { "head": true } }, { "content": "switch ${1:expression} {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "switch": true }, "options": { "head": true } }, { "content": "do {\n ${0:TARGET}\n}${9}", "doc": "", "grammar": "snu", "label": "", "matches": { "do": true }, "options": { "head": true } }, { "content": "catch${1:#:pattern} {\n ${0:TARGET}\n}${9}", "doc": "", "grammar": "snu", "label": "", "matches": { "catch": true }, "options": { "word": true } }, { "content": "defer {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "defer": true }, "options": { "head": true } }, { "content": "import ${1:module}\n${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "import": true }, "options": {} }, { "content": "subscript(${1:index: Int}) -> ${2:Int} {\n ${0:TARGET}\n}\n${9}", "doc": "", "grammar": "snu", "label": "", "matches": { "subscript": true }, "options": { "word": true } }, { "content": "init${1:#:?}(${2:#:arguments}) {\n ${0:TARGET}\n}\n${9}", "doc": "", "grammar": "snu", "label": "", "matches": { "init": true }, "options": { "word": true } }, { "content": "deinit {\n ${0:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "deinit": true }, "options": { "head": true } }, { "content": "{ ${1:#capture}(${2:#:arguments}) -> ${3:Void} in\n ${0:TARGET}\n}\n${9}", "doc": "", "grammar": "snu", "label": "{ (...) -> Type in ... }", "matches": { "closure": true }, "options": { "word": true } } ], "systemverilog": [ { "content": "always_comb begin\n ${1:TARGET}\nend", "doc": "", "grammar": "snu", "label": "always_comb", "matches": { "alc": true }, "options": {} }, { "content": "always @(posedge ${1:clk} iff !${2:rst} or posedge $2) begin\n if (${2}) begin\n ${3:TARGET}\n end else begin\n end\nend", "doc": "", "grammar": "snu", "label": "always_ff @()", "matches": { "alf": true }, "options": {} }, { "content": "always_latch begin\n if (${1:enable}) begin\n ${2:TARGET}\n end\nend", "doc": "", "grammar": "snu", "label": "always_latch", "matches": { "all": true }, "options": {} }, { "content": "logic${1:#: nbit} ${2:reg}_r, $2_w;${3:TARGET}", "doc": "", "grammar": "snu", "label": "logic [] _r, _w;", "matches": { "rw": true }, "options": {} }, { "content": "typedef struct packed {\n ${2:TARGET}\n} ${1:name} ;", "doc": "", "grammar": "snu", "label": "", "matches": { "struct": true }, "options": {} }, { "content": "typedef enum {${2:TARGET}} ${1:name};", "doc": "", "grammar": "snu", "label": "", "matches": { "enum": true }, "options": {} }, { "content": "for (int ${1:i} = ${2}; $1 < ${3}; ${4:do what}) begin\n ${5:TARGET}\nend", "doc": "", "grammar": "snu", "label": "", "matches": { "for": true }, "options": {} }, { "content": "unique case (${1}) begin\n ${2:'b0}: begin\n ${3}\n end\nend", "doc": "", "grammar": "snu", "label": "", "matches": { "case_parallel": true }, "options": {} }, { "content": "priority case (${1}) begin\n ${2:'b0}: begin\n ${3}\n end\nend", "doc": "", "grammar": "snu", "label": "", "matches": { "case_full": true }, "options": {} } ], "tex": [ { "content": "\\documentclass[${1}]{${2:article}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\documentclass": true, "documentclass": true }, "options": {} }, { "content": "$${1:#:expression}$${2}", "doc": "", "grammar": "snu", "label": "$ expression $", "matches": { "$": true, "mathexpression": true }, "options": {} }, { "content": "$$${1:#:expression}$$${2}", "doc": "", "grammar": "snu", "label": "$$ expression $$", "matches": { "$$": true, "mathenva": true }, "options": {} }, { "content": "\\[${1:#:expression}\\]${2}", "doc": "", "grammar": "snu", "label": "\\[ expression \\]", "matches": { "\\[": true, "mathenvb": true }, "options": {} }, { "content": "\\begin{${1:#:type}}\n\t${2:TARGET}\n\\end{$1}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin": true, "begin": true }, "options": {} }, { "content": "\\begin{list}\n\t${1:TARGET}\n\\end{list}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{list} \\list": true, "list": true }, "options": {} }, { "content": "\\begin{quotation}\n\t${1:TARGET}\n\\end{quotation}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{quotation} \\quotation": true, "quotation": true }, "options": {} }, { "content": "\\begin{description}\n\t\\item[${1}] ${0}\n\\end{description}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{description} \\description desc": true, "description": true }, "options": {} }, { "content": "\\item[${1}] ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "itd": true, "item[ \\item[": true }, "options": {} }, { "content": "\\item ${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "it": true, "item \\item": true }, "options": {} }, { "content": "\\begin{sloppypar}\n\t${1:TARGET}\n\\end{sloppypar}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{sloppypar} \\sloppypar": true, "sloppypar": true }, "options": {} }, { "content": "\\begin{enumerate}\n\t\\item ${1:TARGET}\n\\end{enumerate}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{enumerate} \\enumerate enum": true, "enumerate": true }, "options": {} }, { "content": "\\begin{theindex}\n\t${1:TARGET}\n\\end{theindex}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{theindex} \\theindex": true, "theindex": true }, "options": {} }, { "content": "\\begin{itemize}\n\t\\item ${1:TARGET}\n\\end{itemize}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{itemize} \\itemize": true, "itemize": true }, "options": {} }, { "content": "\\begin{titlepage}\n\t${1:TARGET}\n\\end{titlepage}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{titlepage} \\titlepage": true, "titlepage": true }, "options": {} }, { "content": "\\begin{verbatim}\n\t${1:TARGET}\n\\end{verbatim}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{verbatim} verb \\verbatim": true, "verbatim": true }, "options": {} }, { "content": "\\begin{verbatimtab}[${1:8}]\n\t${2:TARGET}\n\\end{verbatim}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{verbatimtab} \\verbatimtab": true, "verbatimtab": true }, "options": {} }, { "content": "\\begin{trivlist}\n\t${1:TARGET}\n\\end{trivlist}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{trivlist} \\trivlist": true, "trivlist": true }, "options": {} }, { "content": "\\begin{verse}\n\t${1:TARGET}\n\\end{verse}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{verse} \\verse": true, "verse": true }, "options": {} }, { "content": "\\begin{table}[${1}]\n\t\\centering\n\t\\caption{${2}}\n\t\\label{${3}}\n\t\\begin{tabular}{${4}}\n\t\t${5}\n\t\\end{tabular}\n\\end{table}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{table} \\table": true, "table": true }, "options": {} }, { "content": "\\begin{thebibliography}\n\t${1:TARGET}\n\\end{thebibliography}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{thebibliography} \\thebibliography": true, "thebibliography": true }, "options": {} }, { "content": "\\begin{tabbing}\n\t${1:TARGET}\n\\end{tabbing}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{tabbing} \\tabbing": true, "tabbing": true }, "options": {} }, { "content": "\\begin{note}\n\t${1:TARGET}\n\\end{note}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{note} \\note": true, "note": true }, "options": {} }, { "content": "\\begin{tabular}{${1}}\n\t${2:TARGET}\n\\end{tabular}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{tabular} \\tabular": true, "tabular": true }, "options": {} }, { "content": "\\begin{overlay}\n\t${1:TARGET}\n\\end{overlay}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{overlay} \\overlay": true, "overlay": true }, "options": {} }, { "content": "\\begin{array}{${1}}\n\t${2:TARGET}\n\\end{array}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{array} \\array": true, "array": true }, "options": {} }, { "content": "\\begin{cases}{${1}}\n\t${2:TARGET}\n\\end{cases}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{cases} \\cases": true, "cases": true }, "options": {} }, { "content": "\\begin{slide}\n\t${1:TARGET}\n\\end{slide}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{slide} \\slide": true, "slide": true }, "options": {} }, { "content": "\\begin{displaymath}\n\t${1:TARGET}\n\\end{displaymath}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{displaymath} \\displaymath": true, "displaymath": true }, "options": {} }, { "content": "\\begin{abstract}\n\t${1:TARGET}\n\\end{abstract}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{abstract} \\abstract": true, "abstract": true }, "options": {} }, { "content": "\\begin{align}\n\t${1:TARGET}\n\\end{align}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{align} \\align": true, "align": true }, "options": {} }, { "content": "\\begin{align*}\n\t${1:TARGET}\n\\end{align*}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{align*} \\align*": true, "align*": true }, "options": {} }, { "content": "\\begin{aligned}\n ${1:TARGET}\n\\end{aligned}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{aligned} \\aligned": true, "aligned": true }, "options": {} }, { "content": "\\begin{eqnarray}\n\t${1:TARGET}\n\\end{eqnarray}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{eqnarray} \\eqnarray": true, "eqnarray": true }, "options": {} }, { "content": "\\begin{eqnarray*}\n\t${1:TARGET}\n\\end{eqnarray*}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{eqnarray*} \\eqnarray*": true, "eqnarray*": true }, "options": {} }, { "content": "\\begin{equation}\n\t${1:TARGET}\n\\end{equation}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{equation} \\equation": true, "equation": true }, "options": {} }, { "content": "\\begin{equation*}\n\t${1:TARGET}\n\\end{equation*}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{equation*} \\equation*": true, "equation*": true }, "options": {} }, { "content": "\\begin{center}\n\t${1:TARGET}\n\\end{center}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{center} \\center": true, "center": true }, "options": {} }, { "content": "\\begin{document}\n\t${1:TARGET}\n\\end{document}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{document} \\document": true, "document": true }, "options": {} }, { "content": "\\begin{filecontents}\n\t${1:TARGET}\n\\end{filecontents}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{filecontents} \\filecontents": true, "filecontents": true }, "options": {} }, { "content": "\\begin{lrbox}\n\t${1:TARGET}\n\\end{lrbox}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{lrbox} \\lrbox": true, "lrbox": true }, "options": {} }, { "content": "\\begin{flushleft}\n\t${1:TARGET}\n\\end{flushleft}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{flushleft} \\flushleft": true, "flushleft": true }, "options": {} }, { "content": "\\begin{flushright}\n\t${1:TARGET}\n\\end{flushright}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{flushright} \\flushright": true, "flushright": true }, "options": {} }, { "content": "\\begin{minipage}{${1:0.45}\\linewidth}\n\t${2:TARGET}\n\\end{minipage}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{minipage} \\minipage": true, "minipage": true }, "options": {} }, { "content": "\\begin{picture}\n\t${1:TARGET}\n\\end{picture}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{picture} \\picture": true, "picture": true }, "options": {} }, { "content": "\\begin{math}\n\t${1:TARGET}\n\\end{math}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{math} \\math": true, "math": true }, "options": {} }, { "content": "\\begin{quote}\n\t${1:TARGET}\n\\end{quote}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{quote} \\quote": true, "quote": true }, "options": {} }, { "content": "\\begin{matrix}\n\t${1:TARGET}\n\\end{matrix}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{matrix} \\matrix": true, "matrix": true }, "options": {} }, { "content": "\\begin{bmatrix}\n\t${1:TARGET}\n\\end{bmatrix}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{bmatrix} \\bmatrix": true, "bmatrix": true }, "options": {} }, { "content": "\\begin{pmatrix}\n\t${1:TARGET}\n\\end{pmatrix}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\pegin{bmatrix} \\pmatrix": true, "pmatrix": true }, "options": {} }, { "content": "\\begin{vmatrix}\n\t${1:TARGET}\n\\end{vmatrix}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{vmatrix} \\vmatrix": true, "vmatrix": true }, "options": {} }, { "content": "\\begin{Bmatrix}\n\t${1:TARGET}\n\\end{Bmatrix}", "doc": "", "grammar": "snu", "label": "", "matches": { "Bmatrix": true, "\\begin{Bmatrix} \\Bmatrix": true }, "options": {} }, { "content": "\\begin{Vmatrix}\n\t${1:TARGET}\n\\end{Vmatrix}", "doc": "", "grammar": "snu", "label": "", "matches": { "Vmatrix": true, "\\begin{Vmatrix} \\Vmatrix": true }, "options": {} }, { "content": "\\part{${1}}\n${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\part": true, "part \\part{": true }, "options": {} }, { "content": "\\chapter{${1}}\n${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\chapter": true, "chapter \\chapter{": true }, "options": {} }, { "content": "\\section{${1}}\n${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\section": true, "section \\section{": true }, "options": {} }, { "content": "\\subsection{${1}}\n${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\subsection": true, "subsection \\subsection{": true }, "options": {} }, { "content": "\\subsubsection{${1}}\n${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\subsubsection": true, "subsubsection \\subsubsection{": true }, "options": {} }, { "content": "\\paragraph{${1}}\n${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\paragraph": true, "paragraph \\paragraph{": true }, "options": {} }, { "content": "\\subparagraph{${1}}\n${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\subparagraph": true, "subparagraph \\subparagraph{": true }, "options": {} }, { "content": "\\frac{${1}}{${2}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\frac": true, "frac \\frac{": true }, "options": {} }, { "content": "\\left${1:(} ${3:#:body} \\right${2:)}${0}", "doc": "", "grammar": "snu", "label": "\\left \\right", "matches": { "\\left": true, "left": true }, "options": {} }, { "content": "\\begin{bfseries}\n\t${1:TARGET}\n\\end{bfseries}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{bfseries} \\bfseries": true, "bfseries": true }, "options": {} }, { "content": "\\begin{mdseries}\n\t${1:TARGET}\n\\end{mdseries}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{mdseries} \\mdseries": true, "mdseries": true }, "options": {} }, { "content": "\\begin{ttfamily}\n\t${1:TARGET}\n\\end{ttfamily}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{ttfamily} \\ttfamily": true, "ttfamily": true }, "options": {} }, { "content": "\\begin{sffamily}\n\t${1:TARGET}\n\\end{sffamily}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{sffamily} \\sffamily": true, "sffamily": true }, "options": {} }, { "content": "\\begin{rmfamily}\n\t${1:TARGET}\n\\end{rmfamily}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{rmfamily} \\rmfamily": true, "rmfamily": true }, "options": {} }, { "content": "\\begin{upshape}\n\t${1:TARGET}\n\\end{upshape}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{upshape} \\upshape": true, "upshape": true }, "options": {} }, { "content": "\\begin{slshape}\n\t${1:TARGET}\n\\end{slshape}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{slshape} \\slshape": true, "slshape": true }, "options": {} }, { "content": "\\begin{scshape}\n\t${1:TARGET}\n\\end{scshape}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{scshape} \\scshape": true, "scshape": true }, "options": {} }, { "content": "\\begin{itshape}\n\t${1:TARGET}\n\\end{itshape}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{itshape} \\itshape": true, "itshape": true }, "options": {} }, { "content": "\\textbf{${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\textbf": true, "textbf \\textbf{": true }, "options": {} }, { "content": "\\textmd{${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\textmd": true, "textmd \\textmd{": true }, "options": {} }, { "content": "\\texttt{${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\texttt": true, "texttt \\texttt{": true }, "options": {} }, { "content": "\\textsf{${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\textsf": true, "textsf \\textsf{": true }, "options": {} }, { "content": "\\textrm{${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\textrm": true, "textrm \\textrm{": true }, "options": {} }, { "content": "\\textup{${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\textup": true, "textup \\textup{": true }, "options": {} }, { "content": "\\textsl{${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\textsl": true, "textsl \\textsl{": true }, "options": {} }, { "content": "\\textsc{${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\textsc": true, "textsc \\textsc{": true }, "options": {} }, { "content": "\\textit{${1:TARGET}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\textit": true, "textit \\textit{": true }, "options": {} }, { "content": "\\begin{frame}{${1:#:frametitle}}\n\t${2:TARGET}\n\\end{frame}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{frame} \\frame": true, "frame": true }, "options": {} }, { "content": "\\begin{block}{${1:#:title}}\n\t${2:TARGET}\n\\end{block}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{block}": true, "block": true }, "options": {} }, { "content": "\\begin{exampleblock}{${1:#:title}}\n\t${2:TARGET}\n\\end{exampleblock}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{exampleblock}": true, "exampleblock": true }, "options": {} }, { "content": "\\begin{alertblock}{${1:#:title}}\n\t${2:TARGET}\n\\end{alertblock}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{alertblock}": true, "alertblock": true }, "options": {} }, { "content": "\\begin{columns}\n\t\\begin{column}{${1:#:width}${2:\\\\\\textwidth}}\n\t\t${0:#:body}\n\t\\end{column}\n\\end{columns}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{columns} \\columns": true, "columns": true }, "options": {} }, { "content": "\\begin{column}{${1:#:width}${2:\\\\\\textwidth}}\n\t${0:#:body}\n\\end{column}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{column} \\column": true, "column": true }, "options": {} }, { "content": "\\begin{figure}[${1}]\n\t\\centering\n\t\\begin{tikzpicture}[${2}]\n\t\t${3:TARGET}\n\t\\end{tikzpicture}\n\t\\caption{${4}}\n\t\\label{${5}}\n\\end{figure}", "doc": "", "grammar": "snu", "label": "", "matches": { "figuretikz": true, "tikzfig": true }, "options": {} }, { "content": "\\begin{tikzpicture}[${1}]\n\t${2:TARGET}\n\\end{tikzpicture}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{tikzpicture}": true, "tikzpicture": true }, "options": {} }, { "content": "\\begin{scope}[${1}]\n\t${2:TARGET}\n\\end{scope}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\begin{scope}": true, "scope": true }, "options": {} }, { "content": "\\path[${1}] ${2};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\path": true, "path": true }, "options": {} }, { "content": "\\draw[${1}] ${2};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\draw": true, "draw": true }, "options": {} }, { "content": "\\fill[${1}] ${2};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\fill": true, "fill": true }, "options": {} }, { "content": "\\filldraw[${1}] ${2};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\filldraw": true, "filldraw": true }, "options": {} }, { "content": "\\shade[${1}] ${2};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\shade": true, "shade": true }, "options": {} }, { "content": "\\coordinate[${1}](${2:name}) ${3};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\coordinate": true, "coordinate": true }, "options": {} }, { "content": "\\node[${1}](${2:name}) ${3};${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\node": true, "node": true }, "options": {} }, { "content": "\\addbibresource{${1:resource}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\addbibresource": true, "addbibresource": true }, "options": {} }, { "content": "\\cite{${1}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\cite": true, "cite": true }, "options": {} }, { "content": "\\nocite{${1}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\nocite": true, "nocite": true }, "options": {} }, { "content": "\\supercite{${1}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\supercite": true, "supercite": true }, "options": {} }, { "content": "\\autocite{${1}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\autocite": true, "autocite": true }, "options": {} }, { "content": "\\fullcite{${1}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\fullcite": true, "fullcite": true }, "options": {} }, { "content": "\\ref{${1}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\ref": true, "ref": true }, "options": {} }, { "content": "\\label{${1}}${0}", "doc": "", "grammar": "snu", "label": "", "matches": { "\\label": true, "label": true }, "options": {} } ], "toml": [], "twig": [ { "content": "{% autoescape ${1:#:strategy} %}\n\t${0:TARGET}\n{% autoescape %}", "doc": "", "grammar": "snu", "label": "{% autoescape ... %} ... {% endautoescape %}", "matches": { "autoescape": true }, "options": { "head": true } }, { "content": "{% block ${1:#:name} %}\n\t${0:TARGET}\n{% endblock %}", "doc": "", "grammar": "snu", "label": "{% block ... %} ... {% endblock %}", "matches": { "bl": true, "block": true }, "options": { "head": true } }, { "content": "
    \n\t{{ dump(${0:TARGET}) }}\n
    ", "doc": "", "grammar": "snu", "label": "
     {{ dump(...) }} 
    ", "matches": { "dump": true }, "options": { "head": true } }, { "content": "{% embed '${1:template}' %}\n\t{% block ${2} %}\n\t\t${0:TARGET}\n\t{% endblock %}\n{% endembed %}", "doc": "", "grammar": "snu", "label": "{% embed ... %} ... {% endembed %}", "matches": { "embed": true }, "options": { "head": true } }, { "content": "{% extends '${1:#:template}' %}", "doc": "", "grammar": "snu", "label": "{% extends ... %}", "matches": { "ext": true, "extends": true }, "options": { "head": true } }, { "content": "{% filter ${1} %}\n\t${0:TARGET}\n{% endfilter %}", "doc": "", "grammar": "snu", "label": "{% filter ... %} ... {% endfilter %}", "matches": { "filter": true }, "options": { "head": true } }, { "content": "{% flush %}", "doc": "", "grammar": "snu", "label": "{% flush %}", "matches": { "flush": true }, "options": { "head": true } }, { "content": "{% for ${1:#:value} in ${2:#:list} %}\n\t${0:TARGET}\n{% endfor %}", "doc": "", "grammar": "snu", "label": "{% for ... in ... %} ... {% endfor %}", "matches": { "for": true }, "options": { "head": true } }, { "content": "{% from '${1:#:module}' import ${2:#:macro} %}", "doc": "", "grammar": "snu", "label": "{% from '...' import ... %}", "matches": { "from": true }, "options": { "head": true } }, { "content": "{% if ${1} %}\n\t${0:TARGET}\n{% endif %}", "doc": "", "grammar": "snu", "label": "{% if ... %} ... {% endif %}", "matches": { "if": true }, "options": { "head": true } }, { "content": "{% elseif ${1} %}\n\t${0:TARGET}", "doc": "", "grammar": "snu", "label": "{% elseif ... %} ...", "matches": { "elif": true, "elseif": true }, "options": { "head": true } }, { "content": "{% else %}\n\t${0:TARGET}", "doc": "", "grammar": "snu", "label": "{% else %} ...", "matches": { "else": true }, "options": { "head": true } }, { "content": "{% import '${1:#:module}' as ${2:#:namespace} %}", "doc": "", "grammar": "snu", "label": "{% import '...' as ... %}", "matches": { "import": true }, "options": { "head": true } }, { "content": "{% include '${1:#:template}' %}", "doc": "", "grammar": "snu", "label": "{% include '...' %}", "matches": { "include": true }, "options": { "head": true } }, { "content": "{% include '${1:#:template}' with {${2:#:'key'}: ${2:#:'value'}} %}", "doc": "", "grammar": "snu", "label": "{% include '...' %}", "matches": { "includewith": true }, "options": { "head": true } }, { "content": "{% macro ${1:#:name}(${2:#:args}) %}\n\t${0:TARGET}\n{% endmacro %}", "doc": "", "grammar": "snu", "label": "{% macro ...(...) %} ... {% endmacro %}", "matches": { "macro": true }, "options": { "head": true } }, { "content": "{% sandbox %}\n\t${0:TARGET}\n{% endsandbox %}", "doc": "", "grammar": "snu", "label": "{% sandbox %} ... {% endsandbox %}", "matches": { "sandbox": true }, "options": { "head": true } }, { "content": "{% set ${1:#:var} = ${2:#:value} %}", "doc": "", "grammar": "snu", "label": "{% set ... = ... %}", "matches": { "set": true }, "options": { "head": true } }, { "content": "{% set ${1:#:var} %}\n\t${0:TARGET}\n{% endset %}", "doc": "", "grammar": "snu", "label": "{% set ... %} ... {% endset %}", "matches": { "setblock": true }, "options": { "head": true } }, { "content": "{% spaceless %}\n\t${0:TARGET}\n{% endspaceless %}", "doc": "", "grammar": "snu", "label": "{% spaceless %} ... {% endspaceless %}", "matches": { "spaceless": true }, "options": { "head": true } }, { "content": "{% use '${1:#:template}' %}", "doc": "", "grammar": "snu", "label": "{% use '...' %}", "matches": { "use": true }, "options": { "head": true } }, { "content": "{% verbatim %}\n\t${0:TARGET}\n{% endverbatim %}", "doc": "", "grammar": "snu", "label": "{% verbatim %} ... {% endverbatim %}", "matches": { "verbatim": true }, "options": { "head": true } }, { "content": "{# ${1:comment} #}", "doc": "", "grammar": "snu", "label": "{# ... #}", "matches": { "#": true, "comment": true }, "options": { "head": true } }, { "content": "{% ${1:#:tag} %}", "doc": "", "grammar": "snu", "label": "{% ... %}", "matches": { "%": true, "tag": true }, "options": { "head": true } }, { "content": "{% ${1:#:tag} ${2:#:name} %}\n\t${0:TARGET}\n{% end$1 %}", "doc": "", "grammar": "snu", "label": "{% ... %} ... {% end... %}", "matches": { "tagblock": true }, "options": { "head": true } } ], "typescript": [ { "content": "var ${1:#:NAME}: ${2:#:TYPE} = ${0:#:TARGET};", "doc": "", "grammar": "snu", "label": "var NAME: TYPE = expr;", "matches": { "var-with-type": true }, "options": { "head": true } }, { "content": "class ${1:#:NAME} {\n constructor(${2:#:Args}) {\n ${3:#:TARGET}\n }\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "class NAME {...}", "matches": { "class": true }, "options": { "word": true } }, { "content": "${1:#:NAME}(${2:#:Args}): ${3:#:TYPE} {\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "method": true }, "options": { "head": true } }, { "content": "get ${1:#:NAME}(): ${2:#:TYPE} {\n ${3:#:TARGET}\n}\nset $1(${4:value}: $2) {\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "", "matches": { "accessor": true }, "options": { "head": true } }, { "content": "static ${1:#:NAME}(${2:#:Args}) {\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "static f(){}", "matches": { "static": true }, "options": { "head": true } }, { "content": "interface ${1:#:NAME} {\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "interface NAME {...}", "matches": { "interface": true }, "options": { "word": true } }, { "content": "enum ${1:#:NAME} {\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "enum NAME {...}", "matches": { "enum": true }, "options": { "head": true } }, { "content": "module ${1:#:NAME} {\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "module NAME {...}", "matches": { "module": true }, "options": { "head": true } }, { "content": "namespace ${1:#:NAME} {\n ${0:#:TARGET}\n}", "doc": "", "grammar": "snu", "label": "namespace NAME {...}", "matches": { "namespace": true }, "options": { "head": true } }, { "content": "/// ", "doc": "", "grammar": "snu", "label": "/// ", "matches": { "reference": true }, "options": { "head": true } }, { "content": "(${1:#:Args}) => { ${0:#:TARGET} }", "doc": "", "grammar": "snu", "label": "() => {}", "matches": { "arrow-function": true, "function-arrow": true }, "options": { "word": true } } ], "typescriptreact": [], "verilog": [ { "content": "always @(${1:*})${2:TARGET}", "doc": "", "grammar": "snu", "label": "always @()", "matches": { "al": true }, "options": {} }, { "content": "always @(posedge clk${1})${2:TARGET}", "doc": "", "grammar": "snu", "label": "always @(posedge clk)", "matches": { "alclk": true }, "options": {} }, { "content": "begin\n ${1:TARGET}\nend", "doc": "", "grammar": "snu", "label": "begin ... end", "matches": { "be": true, "beginend": true }, "options": {} }, { "content": "reg${1:#: nbit} ${2:reg}_r, $2_w;${3:TARGET}", "doc": "", "grammar": "snu", "label": "reg [] _r, _w;", "matches": { "rw": true }, "options": {} }, { "content": "input${1:#: nbit} i_${2:name},", "doc": "", "grammar": "snu", "label": "input [] i_,", "matches": { "I": true }, "options": {} }, { "content": "output${1:#: nbit} o_${2:name},", "doc": "", "grammar": "snu", "label": "output [] o_,", "matches": { "O": true }, "options": {} }, { "content": "inout${1:#: nbit} io_${2:name},", "doc": "", "grammar": "snu", "label": "inout [] io_,", "matches": { "IO": true }, "options": {} }, { "content": "reg [${1}:${2:0}] ${3:name} [${4:0}:${5}];${6:TARGET}", "doc": "", "grammar": "snu", "label": "reg [] name []", "matches": { "regm": true, "regmemory": true }, "options": {} }, { "content": "${1:reg}_r <= $1_w;${2:TARGET}", "doc": "", "grammar": "snu", "label": "_r <= _w;", "matches": { "regseq": true }, "options": {} }, { "content": "${1:reg}_w = $1_r;${2:TARGET}", "doc": "", "grammar": "snu", "label": "_w = _r", "matches": { "regkeep": true }, "options": {} }, { "content": "assign ${1:#:name} = ${2:#:val};${3:TARGET}", "doc": "", "grammar": "snu", "label": "assign ... = ...", "matches": { "as": true, "assign": true }, "options": {} }, { "content": "parameter ${1:#:name} = ${2:#:val};${3:TARGET}", "doc": "", "grammar": "snu", "label": "parameter ... = ...", "matches": { "pa": true, "parameter": true }, "options": {} }, { "content": "localparam ${1:#:name} = ${2:#:val};${3:TARGET}", "doc": "", "grammar": "snu", "label": "localparam ... = ...", "matches": { "localparam": true, "lpa": true }, "options": {} }, { "content": "if (${1:#:condition})${0:TARGET}", "doc": "", "grammar": "snu", "label": "if()", "matches": { "if": true }, "options": {} }, { "content": "else${0:TARGET}", "doc": "", "grammar": "snu", "label": "else", "matches": { "el": true, "else": true }, "options": {} }, { "content": "else if (${1:#:condition})${0:TARGET}", "doc": "", "grammar": "snu", "label": "else if ()", "matches": { "elseif": true }, "options": {} }, { "content": "initial begin\n ${0:TARGET}\nend", "doc": "", "grammar": "snu", "label": "initial begin ... end", "matches": { "init": true, "initial": true }, "options": {} }, { "content": "for (${1:i} = ${2}; $1 < ${3}; ${4:$1 = $1 + 1})${0:TARGET}", "doc": "", "grammar": "snu", "label": "for () begin ... end", "matches": { "for": true }, "options": {} }, { "content": "while (${1:#:condition})${0:TARGET}", "doc": "", "grammar": "snu", "label": "while () begin ... end", "matches": { "while": true }, "options": {} }, { "content": "case (${1})\n ${2:'b0}: begin\n ${3}\n end\n default : begin\n ${4}\n end\nendcase", "doc": "", "grammar": "snu", "label": "case () ... endcase", "matches": { "case": true }, "options": {} }, { "content": "function${1:# nbit} ${1:func_name};\n ${2:portlist};\n begin\n ${0:TARGET};\n end\nendfunction", "doc": "", "grammar": "snu", "label": "function ... endfunction", "matches": { "func": true, "function": true }, "options": {} }, { "content": "(${1:#:condition}) ? ${2:#:a} : ${3:#:b}", "doc": "", "grammar": "snu", "label": "() ? a : b", "matches": { "ter": true, "ternary": true }, "options": {} }, { "content": "$display(\"${1}\", ${2});", "doc": "", "grammar": "snu", "label": "$display(\"...\", ...);", "matches": { "display": true }, "options": {} }, { "content": "$strobe(\"${1}\", ${2});", "doc": "", "grammar": "snu", "label": "$strobe(\"...\", ...);", "matches": { "strobe": true }, "options": {} } ], "vim": [ { "content": "if ${1:#:condition}\n ${0:TARGET}\nendif", "doc": "", "grammar": "snu", "label": "if endif", "matches": { "if": true }, "options": { "head": true } }, { "content": "elseif ${1:#:condition}\n ${0:TARGET}", "doc": "", "grammar": "snu", "label": "", "matches": { "elseif": true }, "options": { "head": true } }, { "content": "if ${1:#:condition}\n ${2:TARGET}\nelse\n ${3}\nendif", "doc": "", "grammar": "snu", "label": "if else endif", "matches": { "ifelse": true }, "options": { "head": true } }, { "content": "for ${1:#:var} in ${2:#:list}\n ${0:TARGET}\nendfor", "doc": "", "grammar": "snu", "label": "for in endfor", "matches": { "for": true }, "options": { "head": true } }, { "content": "while ${1:#:condition}\n ${0:TARGET}\nendwhile", "doc": "", "grammar": "snu", "label": "while endwhile", "matches": { "while": true }, "options": { "head": true } }, { "content": "function! ${1:#:func_name}(${2}) abort\n ${0:TARGET}\nendfunction", "doc": "", "grammar": "snu", "label": "func endfunc", "matches": { "func": true, "function": true }, "options": { "head": true } }, { "content": "try\n ${1:TARGET}\ncatch /${2:#:pattern}/\n ${3}\nendtry", "doc": "", "grammar": "snu", "label": "try endtry", "matches": { "try": true }, "options": { "head": true } }, { "content": "try\n ${1:TARGET}\nfinally\n ${2}\nendtry", "doc": "", "grammar": "snu", "label": "try ... finally ... endtry", "matches": { "tryf": true, "tryfinally": true }, "options": { "head": true } }, { "content": "catch ${1:/${2:#:pattern: empty, E484, Vim(cmdname):{errmsg\\\\}\\}/}", "doc": "", "grammar": "snu", "label": "catch /pattern/", "matches": { "catch": true }, "options": { "head": true } }, { "content": "echomsg string(${1:TARGET})", "doc": "", "grammar": "snu", "label": "", "matches": { "echomsg": true, "log": true }, "options": { "head": true } }, { "content": "command! ${1:#:command_name} call ${2:#:func_name}", "doc": "", "grammar": "snu", "label": "command call function", "matches": { "command": true }, "options": { "head": true } }, { "content": "function! ${1:#:func_name}(arglead, cmdline, cursorpos) abort\n return filter(${2:#:list}, 'stridx(v:val, a:arglead) == 0')\nendfunction", "doc": "", "grammar": "snu", "label": "customlist complete function", "matches": { "customlist": true }, "options": { "head": true } }, { "content": "augroup ${1:#:augroup_name}\n autocmd!\n autocmd ${2:#:event}\naugroup END", "doc": "", "grammar": "snu", "label": "augroup with autocmds", "matches": { "augroup": true }, "options": { "head": true } }, { "content": "redir => ${1:#:var}\n\t${2::TARGET}\nredir END", "doc": "", "grammar": "snu", "label": "redir => var", "matches": { "redir": true }, "options": { "head": true } }, { "content": "let s:hooks = neobundle#get_hooks('${1}')\nfunction! s:hooks.on_source(bundle) abort\n ${0}\nendfunction\nunlet s:hooks", "doc": "", "grammar": "snu", "label": "neobundle hooks", "matches": { "bundle_hooks": true }, "options": {} }, { "content": "if exists('g:loaded_${1}')\n finish\nendif\n${0}\nlet g:loaded_$1 = 1", "doc": "", "grammar": "snu", "label": "if exists('g:loaded_{plugin-name}')", "matches": { "g:loaded": true, "loaded": true }, "options": { "head": true } }, { "content": "\" vim: ${0:foldmethod=marker}", "doc": "", "grammar": "snu", "label": "\" vim: {modeline}", "matches": { "modeline": true }, "options": {} }, { "content": "if !exists('b:undo_ftplugin')\n let b:undo_ftplugin = ''\nendif\n${1}\nlet b:undo_ftplugin .= '\n\\ | setlocal ${2:#:option_name1< option_name2<...}\n\\'", "doc": "", "grammar": "snu", "label": "if !exists('b:undo_ftplugin')", "matches": { "b:undo_ftplugin": true, "undo_ftplugin": true }, "options": {} }, { "content": "python << EOF\n${0}\nEOF", "doc": "", "grammar": "snu", "label": "python < ${1} || (v:version == $1 && has('patch${2}'))", "doc": "", "grammar": "snu", "label": "vim-version-check", "matches": { "version": true }, "options": {} }, { "content": "has('patch-${1}')", "doc": "", "grammar": "snu", "label": "vim-version-check-new", "matches": { "version_new": true }, "options": {} } ], "vimshell": [ { "content": "ls", "doc": "", "grammar": "snu", "label": "=> ls?", "matches": { "sl": true }, "options": {} } ], "vimspec": [ { "content": "function! s:suite.${1}()\n ${2:TARGET}\n call s:assert.equal(${3:expected}, ${4:actual})\nendfunction", "doc": "", "grammar": "snu", "label": "", "matches": { "suite": true }, "options": { "head": true } }, { "content": "call themis#log(${TARGET})", "doc": "", "grammar": "snu", "label": "p", "matches": { "themis#log": true }, "options": { "head": true } } ], "vimwiki": [ { "content": "*${1}*${2}", "doc": "", "grammar": "snu", "label": "*text*", "matches": { "bold": true }, "options": { "head": true } }, { "content": "~~${1}~~${2}", "doc": "", "grammar": "snu", "label": "~~scratch~~", "matches": { "scratch": true }, "options": { "head": true } }, { "content": "_${1}_${2}", "doc": "", "grammar": "snu", "label": "_italic_", "matches": { "italic": true }, "options": { "head": true } }, { "content": ",,${1},,${2}", "doc": "", "grammar": "snu", "label": ",,sub,,", "matches": { "sub": true }, "options": { "head": true } }, { "content": "^${1}^${2}", "doc": "", "grammar": "snu", "label": "^upper^", "matches": { "upper": true }, "options": { "head": true } }, { "content": "{{local:${1:image_path}}}${2}", "doc": "", "grammar": "snu", "label": "{{}}", "matches": { "image_local": true }, "options": { "head": true } }, { "content": "{{http://${1:image_url}}}${2}", "doc": "", "grammar": "snu", "label": "{{}}", "matches": { "image": true }, "options": { "head": true } }, { "content": "|${1:title}|${2:title}|\n|---|---|\n|${3:value}|${4:value}${5:TARGET}|", "doc": "", "grammar": "snu", "label": "table template", "matches": { "table": true }, "options": { "head": true } }, { "content": "term:: ${1:definintion}", "doc": "", "grammar": "snu", "label": "definition", "matches": { "definintion": true }, "options": { "head": true } }, { "content": ":${1:tag}:${3}", "doc": "", "grammar": "snu", "label": ":tag1:tag2:", "matches": { "tag": true }, "options": { "head": true } }, { "content": "{{{\n${0:TARGET}\n}}}", "doc": "", "grammar": "snu", "label": "{{{}}}", "matches": { "code": true }, "options": { "head": true } } ], "vital": [ { "content": "vital#${1:#:plugin_name}#new()", "doc": "", "grammar": "snu", "label": "vital#...#new()", "matches": { "vital_new_without_let": true }, "options": {} }, { "content": "let ${1:s:V} = vital#${2:#:plugin_name}#new()", "doc": "", "grammar": "snu", "label": "let s:V = vital#...#new()", "matches": { "vital_new": true }, "options": { "head": true } }, { "content": "${1:s:V}.import('${2:#:module_name}')", "doc": "", "grammar": "snu", "label": "s:V.import('...')", "matches": { "vital_import_without_let": true }, "options": {} }, { "content": "let ${1:s:M} = ${2:s:V}.import('${3:#:module_name}')", "doc": "", "grammar": "snu", "label": "let s:M = s:V.import('...')", "matches": { "vital_import": true }, "options": { "head": true } }, { "content": "${1:s:V}.load('${2:#:module_name}')", "doc": "", "grammar": "snu", "label": "s:V.load('...')", "matches": { "vital_load_without_call": true }, "options": {} }, { "content": "call ${1:s:V}.load('${2:#:module_name}')", "doc": "", "grammar": "snu", "label": "call s:V.load('...')", "matches": { "vital_load": true }, "options": { "head": true } } ], "vue": [ { "content": "\n\n", "doc": "", "grammar": "snu", "label": "Scaffold