Basically you just use the Tab key to indent code, you can indent the current line, or select a block of code and indent it all at once.
How to use auto-indentation work in the Translator Editor.
Say you type in a function like this:
Then to get the auto-indentation to kick in just press the Tab key at any point on the line, then the editor moves the end block so that it matches the start of the function:
Or you can press Tab key to indent a selected block of code: