Want to add a tag around selection?
- Select code with Extend Selection: Alt-Up on macOs / Ctrl+W on Windows & Linux
- Use Surround with: Cmd-Alt-T / Ctrl+Alt+T
- Press T to select Surround with Tag
- Type the tag name
Works in HTML, JSX, and Angular & Vue templates #WebStormTippic.twitter.com/gJnBK9WXpU
Sorry, not sure we have understood what you mean. Can you please provide an example showing the desired behavior? Thanks!