GNOME Builder and python: happy indents

Christian Hergert, author of GNOME Builder, in yesterday morning got some messages from me about auto-indent problems in Python.

According to PEP 8 we can use:

# Aligned with opening delimiter.
foo = long_function_name(var_one, var_two,
                         var_three, var_four)

# More indentation included to distinguish this from the rest.
def long_function_name(
        var_one, var_two, var_three,

# Hanging indents should add a level.
foo = long_function_name(
    var_one, var_two,
    var_three, var_four)

Christian added support for auto-indenting for all this cases. I can just write code and don’t care about indentation. You want to try GNOME Builder!

P.S. There are cool Shift-Tab keybinding to remove one tab (4 spaces or whatever)