… is hidden away on the last tab of the Java Formatting Profile editor (Preferences -> Java -> Code Style -> Formatter -> Edit).
They’ve finally (after nearly six years) added the ability to temporarily turn the code formatter off for a tricksy block that needs its own custom formatting. e.g.:
// @formatter:off xml .append( "<node id='" ) .append( protein ) .append( "'><data key='class'>" ) .append( cls ) .append( "</data><data key='label'>" ) .append( protein ) .append( "</data></node>" ); // @formatter:on
See the Off/On Tags tab for details.
Nice one guys… Eventually.