4

In the JIndent formatter you can add "special" comments that prevent the formatter from processing a group of lines (//J-, //J+, if I remember correctly).

Is there an equivalent for the built-in formatter in IntelliJ IDEA (9.0.3 CE)? I'm normally very anal about my code style :-), but one of my colleagues is writing a chunk of SQL (in Strings) that should not be wrapped.

ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
Ralph
  • 31,584
  • 38
  • 145
  • 282

1 Answers1

1

Please see a reply to How to selectively disable IntelliJ IDEA code formatter with comments?

I believe that it covers this case too. Using external formatter plug-in which supports such feature would be a solution.

Community
  • 1
  • 1
CrazyCoder
  • 389,263
  • 172
  • 990
  • 904