Given a foo.py file with this code:
def fn(a,b,c,d):
for filename in d:
if len(d) > 1:
log("PROCESSING", filename)
#read_file(filename)
If I insert "if blah:" before the "FOR", Slick will autoindent the rest of the code as I press down arrow.
This is really nice.
BUT, given this code:
def fn(a,b,c,d):
for filename in d:
if len(d) > 1:
log("PROCESSING", filename)
#read_file(filename)
def fn2():
pass
and I do the same, Slick is only willing to indent the "for" and the "if", it won't go any further - so then I have to manually indent the "log" and comment lines.
def fn(a,b,c,d):
if blah:
for filename in d:
if len(d) > 1:
log("PROCESSING", filename)
#read_file(filename)
def fn2():
pass