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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -