cancel
Showing results for 
Search instead for 
Did you mean: 

Use tabs instead of spaces when generating files in cubemx

NWise
Associate

Hi, I recently installed the cubemx software, and while learning the program I saw in the code files that the indentation was space based and not tabs based. Is there any option to change the indentation style? I can't find any option like this in the settings.

Noam

4 REPLIES 4
SAlbe
Associate II

I'd also like to know if there is a solution for this. In our case, we want four spaces rather than two.

Any way that floats your collective boats....

http://uncrustify.sourceforge.net/

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
SAlbe
Associate II

Certainly we can run uncrustify, clang-format, etc. every time we regenerate from Cube. I was just hoping to avoid that if possible.

Sort of functionality ST could automate, with a pane/templates controlling formatting preferences.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..