Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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

share|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

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

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .