Is there a plugin to tell IntelliJ not to format a particular block when I use auto format?

Viewed 33
1 Answers

Yes, and It works the same way with:

@formatter:off

and

@formatter:on

Navigate to:

Settings > Editor > Code Style > Formatter control

enter image description here

Related