Is there a way to make TextMate automatically add a closing HTML tag when I type the opening one? Something like what Notepad++ does under Windows/Linux, or MS Visual Studio.
I mean WITHOUT any shortcuts? So I just type "<body>" and it adds "</body>" and puts the cursor back in between. Without any "Ctrl + Shift + Option + Whatever" black magic.
Or a TextMate alternative maybe?
PS. Mac OS is just one of the many OS'es I work in, so I don't want to litter my brain with any shortcuts...
No, you can't. The simplest thing you could do for closing tags is to type some opening tag with it's contents <div>Some text
and then hit Command + Option + Dot
to close the most recent unclosed tag. This involves a shortcut but it is easy to remember.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With