I'm looking for a plugin that will autocomplete closing brackets for me. Furthermore, I'd like it to space and tab the inner block automatically.
I've tried a number of them where if I'm typing python for example, I'll get into situations like this (* represents my cursor):
def myFunc(){
*}
So I get the autocomplete on the }
, but it 1) doesnt indent for me and 2) leaves the closing bracket on the same line. Instead, I'd like to be able to do something like this:
def myFunc(){
*
}
Where as soon as I hit enter within the {}
it will correctly indent for me and shift the closing bracket 2 lines down. This is the case in most languages I use (javascript, CSS etc)
Are there any plugins that can do this?