I like the new feature where shift-enter auto-indents. It also adds an "end" statement which is useful for closing blocks.
I'm wondering if it should always do this, or if it could do something more context sensitive. A full IDE would be running a full parser in the background which is probably overkill. A simpler behavior would just scan the current line for block starter keywords and only indent+end if it finds one.
I'd prefer this because I'm likely to get into the habit of shift+enter, enough to do it by accident, and if it always does what I want that'd be better than having to undo and try again.
Good idea, but if this IS made a feature, please make it optional via config.txt, because even though I know lots of people like this behavior, I personally hate it and always turn it off.
By the way, it would need to be smart enough to know the difference between if vs. if() and while vs. while().
[Please log in to post a comment]