cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to prevent CubeMX from messing up source code file formatting?

matt-crc
Associate II

Is there a way to prevent CubeMX from constantly messing up the source code formatting?  I spent time setting up the preferences in the CubeIDE tool, but every time CubeMx touches the files, it resets the code formatting.  After the CubeMX returns to the IDE, is there a way to run the IDE source->reformat command?

mattcrc_0-1740699704973.png

if not possible today, can this be added to the development wish list?

thanks

Matthew

1 REPLY 1
TDK
Guru

You can only add/modify code within the USER CODE brackets. Outside of that, everything is regenerated.

If you feel a post has answered your question, please click "Accept as Solution".