Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- ///personal snippets nice its a bitch in vscode to have them built in
- "new function": {
- "prefix": "function",
- "body": [
- "public function $2():Void {",
- "///",
- "}",
- ],
- "description": "new public function"
- },
- "new private function": {
- "prefix": "privatefunction",
- "body": [
- "private function $2():Void {",
- "///",
- "}",
- ],
- "description": "new private function"
- },
- "if statement": {
- "prefix": "ifstatement",
- "body": [
- "if ($2){",
- "$3",
- "}",
- ],
- "description": "if statement"
- },
- "if else statement": {
- "prefix": "ifelse",
- "body": [
- "if ($2){",
- "$3",
- "} else {",
- "$4",
- "}",
- ],
- "description": "if else statement"
- },
- "else if statement": {
- "prefix": "elseif",
- "body": [
- "else if ($2){",
- "$3",
- "}",
- ],
- "description": "else if statement"
- },
- "else statement": {
- "prefix": "elsestatement",
- "body": [
- "else {",
- "$2",
- "}",
- ],
- "description": "else statement"
- },
- "trace": {
- "prefix": "trace",
- "body": [
- "trace($2);",
- ],
- "description": "trace"
- },
- "for": {
- "prefix": "forloop",
- "body": [
- "for ($2 in 0 ... $3){",
- "///",
- "}",
- ],
- "description": "for loop"
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement