{ // Place your snippets for agksrc here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the // same ids are connected. // Example: // "Print to console": { // "prefix": "log", // "body": [ // "console.log('$1');", // "$2" // ], // "description": "Log output to console" "Do Loop": { "prefix": "do", "body": [ "Do", "\t$1", "Loop", "$0" ], "description": "A complete Do Loop" }, "For Loop": { "prefix": "for", "body": [ "For i=${1:0} to ${2:array.length}", "\t$3", "Next i", "$0" ], "description": "A complete For Next Loop" }, "While Loop": { "prefix": "while", "body": [ "While ${1:state}", "\t$2", "Endwhile", "$0" ], "description": "A complete While Loop" }, "Repeat Loop": { "prefix": "repeat", "body": [ "Repeat", "\t$2", "Until ${1:state}", "$0" ], "description": "A complete Repeat Loop" }, "Select Case": { "prefix": "select", "body": [ "Select ${1:state}", "\tCase ${2:1}", "\t\t$3", "\tEndcase", "\tCase ${4:2}", "\t\t$5", "\tEndcase", "Endselect", "$0" ], "description": "A complete Select Case" }, "Function": { "prefix": "function", "body": [ "Function ${1:myFunction}(${2:state as integer})", "\t$3", "Endfunction", "$0" ], "description": "A complete Do Loop" }, "If": { "prefix": "if", "body": [ "If ${1:A}=${2:B}", "\t$3", "Endif", "$0" ], "description": "A complete Do Loop" }, }