We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 184111d commit 5a4a1aaCopy full SHA for 5a4a1aa
1 file changed
snippets/java.json
@@ -12,7 +12,7 @@
12
"prefix": "ctor",
13
"body": [
14
"public ${1:${TM_FILENAME_BASE}}($2) {",
15
- "\t${0:super();}",
+ "\t${3:super();}$0",
16
"}"
17
],
18
"description": "Public constructor"
@@ -23,7 +23,7 @@
23
"try {",
24
"\t$1",
25
"} catch (${2:Exception} ${3:e}) {",
26
- "\t$4//${0:TODO}: handle exception",
+ "\t$0// TODO: handle exception",
27
28
29
"description": "try/catch block"
@@ -34,7 +34,7 @@
34
"try ($1) {",
35
"\t$2",
36
"} catch (${3:Exception} ${4:e}) {",
37
- "\t$5//${0:TODO}: handle exception",
38
39
]
40
},
@@ -100,7 +100,8 @@
100
"newObject": {
101
"prefix": "new",
102
103
- "${0:Object} ${1:foo} = new ${0:Object}();"
+ "${1:Object} ${2:foo} = new ${1}($3);",
104
+ "$0"
105
106
"description": "Create new Object"
107
0 commit comments