18

Uncrustify is great, and does an excellent job of tidying code. However, I have some C code within a file that I don't want Uncrustify to change. Is there any way I can prevent Uncrustify from touching this, maybe by putting specific tags in comments around the code or something?

durron597
  • 31,968
  • 17
  • 99
  • 158
Basirk
  • 353
  • 2
  • 7

1 Answers1

19
/* *INDENT-OFF* */
int i = 0; // No uncrustify action here
/* *INDENT-ON* */
Manu3l0us
  • 466
  • 3
  • 7