Useful IDEA Live Templates
From Shrubbery
Here are some examples of the 'live templates' that I find useful in IDEA:
logc - Declare an apache-commons-logging style logger:
private static final Log log = LogFactory.getLog($CLASS_NAME$.class);
log4 - Declare a Log4J style logger:
private static final Logger log = Loggger.getLogger($CLASS_NAME$.class);
logd - Debug logging statement:
if (log.isDebugEnabled())
log.debug("$METHOD_NAME$()");
See also: Useful IDEA File Templates

