I’d like to find a way to disable formatting (reformatting, a la Java ctrl-shift-F) for a block of code. I’m wondering if there’s any @ directive or pragma, or a magic comment, or any other means of saying to the IDE “don’t reformat this block of code”?
For example, I (pray for me) often have to rewrite SQL queries embedded in old java code. I try to make them readable, by lining up SELECT, FROM, etc. on separate lines, according to some well-known SQL standards.
Myeclipse, of course, helpfully rearranges those for me if I reformat the containing class or method.
Any thoughts are welcome. Thanks!