You don't have to type "end". Shameless self plug: I wrote an extension that closes everything automatically, inspired by a plugin for vim with the same name: endwise[1]
It's not 100% done yet, support for other languages is still missing. But it works.
[1]: https://marketplace.visualstudio.com/items?itemName=kaiwood....