I was following this python tutorial online, and the guy get a new line directly with one level dedent
for example if i have: (… represent spaced indent)
....if i == 0:
........continue
after press enter i would get a new line with indent like this still in the if statement:
....if i == 0:
........continue
........
However he seems to use some shortcut and get an indent that jumps out of the if statement directly:
....if i == 0:
........continue
....
so he doesnt need to press backspace four times to delete the space
Help, I have been coding for years, I have never heard of this shortcut and would love to find out.
This is the video, I gif it
- Just asked on stack overflow, but people were being really mean there, and someone told me to ask the script editor, so here i am. anyway, many thanks