how do you set up the automatic code formatting?
-
I am using the ClangFormat plugin found in:
Preferences > C++ > Code Style > ClangFormat settings.I have set it up to use a custom .clang-format file in my project directory:
formatting mode: full formatting
format while typing
format edited code on file save.Formatting on file save works perfectly, but the formatting while typing misses lots of formatting mistakes, it barely fixes a thing.
i don't have the beautifier plugin enabled, but should i be using it in addition to / instead of the other one? why?
also, how do i set up the formatter found in "Preferences > Text Editor > Behavior > Tabs & indentation / Typing" so that it's not conflicting with my other formatter(s)???... i don't see a way to disable it or tell it to just use the .clang-format file.
it's weird and confusing to basically have three seperate code auto-formatters in the ide. i tried reading the documentation on them, but it doesn't mention why they're all needed.