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.

Is there a way (core or plugin) that a closing html tag name changes accordingly when renaming the opening one ? A behaviour similar to multi-selection...

share|improve this question
    
Are you looking for a way to change it, or is it happening you you and you don't know why? –  soandos Oct 19 '12 at 12:58
add comment

2 Answers

up vote 2 down vote accepted

The Zen coding plugin has a command "select matching tag name" which selects the nearest opening and closing tags relative to the cursor.

share|improve this answer
    
Perfect solution, I already had the zen plugin, but I never suspected that "select matching tag name" (ctr + shit + a on mac) would do the trick. Thanks ! –  Teenage Oct 21 '12 at 22:23
add comment

The ZenCoding plugin has been discontinued, see the alternative: Emmet

Ctrl + Shift + ' // Rename tag shortcut (single quote)

Also available via Package Control, under the same name.

share|improve this answer
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.