As i write code in python and suddenly feel like adding a new block in front of the code i have already written.... the indentation of the complete code is affected.. it is very tedious process to move to each line and change the indentation...is there any way to do auto indent or something...
eg:
def somefunction:
x =5
return x
if i want to add a contrl block
eg:
def somefunction:
if True:
x =5
return x
return 0
this small change of adding a control block took a lot of tab work....
is there a shortcut or sumthing to do this easily?