开发者

Stop IntelliJ from wrapping lines

开发者 https://www.devze.com 2023-01-10 01:30 出处:网络
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).

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 b开发者_运维百科e wrapped.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消