习惯了Eclipse中的syso
,那么在IDEA中如何优雅的输出呢?
1、sout
System.out.println($END$);
Prints a string to System.out
2、soutp
System.out.println($FORMAT$);
Prints method parameter names and values to System.out
3、soutm
System.out.println("$CLASS_NAME$.$METHOD_NAME$");
Prints current class and method names to System.out
4、soutv
System.out.println("$EXPR_COPY$ = " + $EXPR$);
Prints a value to System.out