File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 12
12
"prefix" : " ctor" ,
13
13
"body" : [
14
14
" public ${1:${TM_FILENAME_BASE}}($2) {" ,
15
- " \t ${0 :super();}" ,
15
+ " \t ${3 :super();}$0 " ,
16
16
" }"
17
17
],
18
18
"description" : " Public constructor"
23
23
" try {" ,
24
24
" \t $1" ,
25
25
" } catch (${2:Exception} ${3:e}) {" ,
26
- " \t $4//${0: TODO} : handle exception" ,
26
+ " \t $0// TODO: handle exception" ,
27
27
" }"
28
28
],
29
29
"description" : " try/catch block"
34
34
" try ($1) {" ,
35
35
" \t $2" ,
36
36
" } catch (${3:Exception} ${4:e}) {" ,
37
- " \t $5//${0: TODO} : handle exception" ,
37
+ " \t $0// TODO: handle exception" ,
38
38
" }"
39
39
]
40
40
},
100
100
"newObject" : {
101
101
"prefix" : " new" ,
102
102
"body" : [
103
- " ${0:Object} ${1:foo} = new ${0:Object}();"
103
+ " ${1:Object} ${2:foo} = new ${1}($3);" ,
104
+ " $0"
104
105
],
105
106
"description" : " Create new Object"
106
107
},
You can’t perform that action at this time.
0 commit comments