Eclipse is a Java Integrated Development Environment (IDE) that has many problems, in my view, but also many good things.
Here are a few time-savers:
Type:
sysout CTRL+space
and Eclipse completes to:
System.out.println()
Type:
throw new NPE CTRL+space
and Eclipse presents a list of Exception classes whose capital letters start with N, P, and E.
In this case, we want to complete to:
throw new NullPointerException()
Again:
throw new IArE CTRL+space
and complete to:
throw new IllegalArgumentException()
Nice! :)
1 comment:
Actually , syso (and syse) plus Ctrl-Space is enough :-) .
João
Post a Comment