1
0
mirror of https://github.com/amix/vimrc synced 2025-07-19 18:14:59 +08:00
This commit is contained in:
huangqundl
2017-03-17 23:12:53 +08:00
parent 47b213d974
commit cba39b7326
855 changed files with 59981 additions and 35298 deletions

View File

@ -163,12 +163,12 @@ snippet ths
throws ${0}
snippet try
try {
${0}
${0:${VISUAL}}
} catch(${1:Exception} ${2:e}) {
}
snippet tryf
try {
${0}
${0:${VISUAL}}
} catch(${1:Exception} ${2:e}) {
} finally {
}
@ -214,18 +214,28 @@ snippet wh
while (${1}) ${0}
##
## Main method
snippet psvm
public static void main (String[] args) {
${0}
}
snippet main
public static void main (String[] args) {
${0}
}
##
## Print Methods
snippet sout
System.out.println(${0});
snippet serr
System.err.println(${0});
snippet print
System.out.print("${0:Message}");
snippet printf
System.out.printf("${1:Message}", ${0:args});
snippet println
System.out.println(${0});
snippet printlna
System.out.println(Arrays.toString(${0}));
##
## Render Methods
snippet ren