up vote 3 down vote favorite
1
share [g+] share [fb]

I am searching for a plugin or any other way for n++ to close the last open tag on demand (i.e. assigned to a shortcut key), not automatically.

Sadly all I could find is tag auto-closing (in TextFX and XMLtools), where a tag closure is added when the user types the '>' (like in <div>).

Any suggestions?

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

I couldn't find anything for a tag closure, but if you turn on the auto-completion does that do what you need it to?

alt text

alt text

link|improve this answer
I enable auto-completion from the second character, much less obtrusive, but not what I've been looking for. I'll file a feature-request to the developer... – Raveren Dec 23 '09 at 10:15
feedback

To enable that option (like Coda for Mac, or Aptana) TextFX -> TextFX Settings -> Autoclose XHTML/XML <tags> :)

link|improve this answer
However it "autocompletes" the closing tag when I enter the last >. Anyway, I've moved to PHPstorm IDE and it's great. – Raveren Mar 23 '10 at 11:11
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.