Is there any way of making Idea (version 6.0.4) interpret EJBQL queries over multiple lines?
For example -
createQuery("SELECT m FROM Model m WHERE m.name = :name");
is formatted and error checked as a query, but if I have a longer statement and for the sake of readability split it over multiple lines...
createQuery("SELECT m FROM Model m WHERE m.name = :name" +
"AND m.somethingElse = :somethingElse");
the query is then treated as a string and formatting and hints are lost.