File Templates Configured Per Project
By default when you surround an unhandled exception with try catch block IDEA inserts the following
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
Is it possible to make this a per project setting?
e.g. for one project I might want:
Log.error("Log Category", ${EXCEPTION});
And for another I might want:
System.err.println(${EXCEPTION});
you get the idea.
Please sign in to leave a comment.
Hello opticyclic,
This has been a very, very long-standing feature request; the answer is unfortunately
still "no".
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"