Is it possible to bring auto alignment inside deluge scripting?

Is it possible to bring auto alignment inside deluge scripting?

it is very difficult to align when we do free style coding