Add simple non-opinionated auto indenter
I personally have quite often used gedit for code editing, and I like the intender there. I see the advantage of an indenter that understands the syntax as it helps to do the right thing. However, it also means that the indenter becomes opinionated and tries to force its indentation style on everything.
For example NetworkManager uses tabs + spaces (tabs for indentation but spaces for alignment of e.g. parameters in the next line). Builder will insert tabs however which means it becomes hard to correctly format the code.
I think that the very simple approach that Gedit seems to take is actually much more versatile. It looks like it simply copies the white space from the previous line. This obviously requires more work from the programmer, but it is much less intrusive in cases where the code style differs from Builders expectations.
Maybe it would be possible to allow the selection of a "generic" coding style which uses an approach similar to Gedit.
This is related to #67 (closed).