TagSurfer for VSCodeStreamline tag creation and navigation in HTML, JSX, and more.CommandsSurround with Tag
Surrounds the selected text with a new tag.
The cursor will be placed at the start of the name of the new opening tag, so it can be easily edited. I recommend using this alongside the Auto Rename Tag extension. Jump to Matching Pair
This combines the functionality of the Go to Matching Pair command from Emmet or Vim's '%' command.
Additional notes:
Jump to Next / Previous SiblingJumps to the next or previous symbol header on the same level according to the active document's symbol provider. Jump to Parent / ChildMoves through the document symbol tree one level at a time. Swap with Next / Previous SiblingReorders the current sibling with the adjacent sibling before or after it. Focus className
Focuses the cursor at the end of the list of class names for the surrounding tag.
Delete Selection with Matching Pairs
Deletes current selection along with any matching tags or brackets. Will also clean up any empty lines from the pair delections. Delete Surrounding Tag Pair
Deletes the tag pair surrounding the cursor and cleans up any leftover empty lines. Insert Self-Closing Tag
Inserts a self-closing tag at the cursor position. Configuration
Don't other extensions already do these things?There are plenty of extensions that provide tag surrounding functionality, such as Surround with Tag, htmltagwrap, or Wrap It. I made this extension to avoid the following:
TagSurfer solves all of these problems. Similarly, I created the Jump to Matching Pair feature to avoid having seperate keybinds for Vim's '%' command and Emmet's 'Go to Matching Pair' command. |






