When I get the warning
PEP 8: E122 continuation line missing indentation or outdented
Ctrl + Alt + L doesn't perform the necessary indenting. Instead, the indenting has to be done manually.
As if that wasn't enough, if I do Ctrl + Alt + L afterwards, the line gets unindented to the previous, incorrect level, which raises the aforementioned warning again. What's the solution to this pesky nuisance?
As asked, here's an example:
def foo():
return range(15)
var1, var2, var3, var4, var5, var6, var7, var8, var9, var10, var11, var12, var13, var14, \
var15 = foo()
Editor -> Code Style -> Markdown settings:
Hard wrap = 80
Wrap on typing = Yes.
