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...
4 Answers
The Zen coding plugin has a command "select matching tag name" which selects the nearest opening and closing tags relative to the cursor.
The ZenCoding plugin has been discontinued, see the alternative: Emmet
(Super) + Shift + K // Rename tag shortcut
Also available via Package Control, under the same name.
-
6This seems have been changed to Super + Shift + K for OS X (see: github.com/sergeche/emmet-sublime/blob/…) Jun 26, 2014 at 4:25
-
-
Use the Emmet plugin shortcut key to rename tag in your editor:
[Super + Shift + K] on mac //In OSX environment, super key = Command key.
[Ctrl + Shift + '] on windows
It worked perfectly I already tested with sublime text
You can also add this command
to userKeyBindings:
{"keys": ["your key bind.."], "command": "rename_tag"} // like super+shift+k