1

In this question (https://stackoverflow.com/questions/15097501/can-uncrustify-be-prevented-from-modifying-certain-sections-of-code) i learned that i can use *INDENT-OFF* to exclude uncrustify action on certain parts of code.

Unfortunately i was not able to find this information anywhere else.

Does anybody know where i can look this up? Are there other comments which control uncrustifiy behaviour?

Community
  • 1
  • 1
RedX
  • 14,749
  • 1
  • 53
  • 76

1 Answers1

1

The *INDENT-ON* and *INDENT-OFF* are defined in the uncrustify_types.h file in the source code

See also Ben Gardner's comment: https://sourceforge.net/p/uncrustify/bugs/343/#0394

mtb
  • 1,350
  • 16
  • 32