Auto Code Format (K&R)

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

metacode
Posts: 6
Joined: Tue Oct 24, 2017 11:32 am

Auto Code Format (K&R)

Postby metacode » Thu Dec 12, 2019 11:19 pm

I use K&R code format and my issue is with the functions defined with double-underline.

e.g. __HAL_RCC_GPIOC_CLK_ENABLE;

the line closing ; will be broken to the next line.
__HAL_RCC_GPIOC_CLK_ENABLE
;

This is kind of annoying. Does anyone know how to change that behavior?

Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 1 guest