This is certainly one of the more simplistic plugin’s I’ve written, and yet it’s also one I use all the time.
Imagine that you have the following fragment of HTML and you’d like to split it in half.
- Simply place your caret where you’d like to split the tag.
- Hit your CodeRush \ Refactor key
- Select ‘Split Tag’ from the menu
- … and CodeRush will break your single tag into 2 of the same type.
This plugin can be particularly useful when creating <li> tags within various lists.
This plugin is available from either The Visual Studio Gallery or from GitHub
The source is available on Github