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
Post a Comment