2018-10-20 09:15 AM
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
2018-11-02 10:31 AM
I'd also like to know if there is a solution for this. In our case, we want four spaces rather than two.
2018-11-02 12:34 PM
Any way that floats your collective boats....
http://uncrustify.sourceforge.net/
2018-11-02 12:37 PM
Certainly we can run uncrustify, clang-format, etc. every time we regenerate from Cube. I was just hoping to avoid that if possible.
2018-11-02 04:43 PM
Sort of functionality ST could automate, with a pane/templates controlling formatting preferences.