Skip to content

Commit 33dcdfa

Browse files
jdneofbricon
authored andcommitted
Move some statement snippets to the server side
Signed-off-by: Sheng Chen <sheche@microsoft.com>
1 parent cab7674 commit 33dcdfa

File tree

1 file changed

+0
-88
lines changed

1 file changed

+0
-88
lines changed

snippets/java.json

Lines changed: 0 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,6 @@
88
],
99
"description": "Public static main method"
1010
},
11-
"sysout": {
12-
"prefix": "sysout",
13-
"body": [
14-
"System.out.println($0);"
15-
],
16-
"description": "Print to standard out"
17-
},
18-
"syserr": {
19-
"prefix": "syserr",
20-
"body": [
21-
"System.err.println($0);"
22-
],
23-
"description": "Print to standard err"
24-
},
25-
"fori": {
26-
"prefix": "fori",
27-
"body": [
28-
"for (${1:int} ${2:i} = ${3:0}; $2 < ${4:max}; $2++) {",
29-
"\t$0",
30-
"}"
31-
],
32-
"description": "Indexed for loop"
33-
},
34-
"foreach": {
35-
"prefix": "foreach",
36-
"body": [
37-
"for (${1:type} ${2:var} : ${3:iterable}) {",
38-
"\t$0",
39-
"}"
40-
],
41-
"description": "Enhanced for loop"
42-
},
4311
"Public constructor": {
4412
"prefix": "ctor",
4513
"body": [
@@ -49,44 +17,6 @@
4917
],
5018
"description": "Public constructor"
5119
},
52-
"if": {
53-
"prefix": "if",
54-
"body": [
55-
"if (${1:condition}) {",
56-
"\t$0",
57-
"}"
58-
],
59-
"description": "if statement"
60-
},
61-
"ifelse": {
62-
"prefix": "ifelse",
63-
"body": [
64-
"if (${1:condition}) {",
65-
"\t$2",
66-
"} else {",
67-
"\t$0",
68-
"}"
69-
],
70-
"description": "if/else statement"
71-
},
72-
"ifnull": {
73-
"prefix": "ifnull",
74-
"body": [
75-
"if (${1:condition} == null) {",
76-
"\t$0",
77-
"}"
78-
],
79-
"description": "if statement checking for null"
80-
},
81-
"ifnotnull": {
82-
"prefix": "ifnotnull",
83-
"body": [
84-
"if (${1:condition} != null) {",
85-
"\t$0",
86-
"}"
87-
],
88-
"description": "if statement checking for not null"
89-
},
9020
"trycatch": {
9121
"prefix": "try_catch",
9222
"body": [
@@ -167,24 +97,6 @@
16797
],
16898
"description": "Switch Statement"
16999
},
170-
"While Statement": {
171-
"prefix": "while",
172-
"body": [
173-
"while (${1:condition}) {",
174-
"\t$0",
175-
"}"
176-
],
177-
"description": "While Statement"
178-
},
179-
"Do-While Statement": {
180-
"prefix": "dowhile",
181-
"body": [
182-
"do {",
183-
"\t$0",
184-
"} while (${1:condition});"
185-
],
186-
"description": "Do-While Statement"
187-
},
188100
"newObject": {
189101
"prefix": "new",
190102
"body": [

0 commit comments

Comments
 (0)