Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

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

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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