sublimetext2 - Switch current tag to another -


i have tag like

<p>this pa|ragraph</p> 

i want press button , change p tag.

how can that?

install emmet(previously zencoding) plugin. has shortcut super+shift+k(for mac, other oses, should ctrl instead of super) this.

{     "keys": [         "super+shift+k"     ],      "command": "rename_tag",      "context": [         {             "key": "emmet_action_enabled.rename_tag"         }     ] },  

just highlight tag, press combo , both opening , closing tags selected simultaneously. can type new tag.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -