Today I’ve been coding quite a lot (several thousands of lines) and noticed that:
-
Block completion. It would greatly help if when I type the code below ( [*] shows cursor position) and hit “Enter”…
if ... then[*]
… the editor would add “end” at the appropriate position under “if”, add an empty line between them and place the cursor with the correct indentation:
if ... then
[*]
end
The same goes for function definitions, loops and everything else that requires “end”.
- Comment completion. When you write comments spanning multiple lines, I’d say it would help that when you press “Enter” inside the comment, it automatically starts the new line with “–” correctly aligned with “–” on the previous line.
Cheers.