Here such a strange question suddenly arose. What programs for formatting sources (primarily in C, other languages are less interested) allow you to specify areas for exceptions?
I came across a piece of code in which I had to place not only meaningful, but also fake comments ( /* */ ) in order not to lose clarity after formatting:
static int a[] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* '0' - '9' */ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, /* */ -1, -1, -1, -1, -1, -1, -1, /* 'A' - 'Z' */ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, /* */ -1, -1, -1, -1, -1, -1, /* 'a' - 'z' */ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, /* */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* ... up to 255 ... */ }; For indent , bcpp and astyle, this is enough, but here it is necessary in each particular case to select options. And theoretically I wanted to be able to mark unformatted blocks with some special markers.