In most cases, the auto-indentation and the syntax highlighting works as intended/expected, such as when typing if <some expression> then followed by an enter, the end is automatically added at the correct indentation level.
In other cases, such as while loops and tell blocks, the end is not automatically added and sometimes the auto indentation gets confused and modifies which indentation level an end is on.
This is an example of the missing ends for while and tell as well as the auto-indentation messing up:

This is an example of how the syntax highlighting doesn't recognize the closing ends to tells.
