sublimetext - Has anyone come up with a fix line continuation (Python-style) in Sublime Text 2? -
the issue referring indentation behavior of lists , other things in python when on 2 lines. result looking sublime automatically indent example, making code little prettier:
def testmethod(argument1, argument2, argument3, argument4): pass but in sublime, when press enter after line 1, , type remaining arguments, happens:
def testmethod(argument1, argument2, argument3, argument4): pass obviously, isn't readable (and uncompliant pep 8 style conventions). googled around , found few unresolved threads, no solutions. running latest version of sublime text 2, on mac. appreciated.
this can (partially) fixed adding:
"indent_to_bracket": true to packages/user/preferences.sublime-settings file (linux). unfortunetly seems work (), , not {}[].
Comments
Post a Comment