Pope Francis
2013-03-13
2013-03-06
Eclipse power shortcuts
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! :)
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! :)
Subscribe to:
Posts (Atom)