Josh
Josh

Reputation: 339

VSCode - Highlighting a tag quickly with keyboard?

silly VS Code question!

In Sublime and other text editors I often highlight an end-tag to cut it or move it etc, using opt + shift + back-arrow (MacOS). For some reason, in VS Code it always jumps to highlight not only the tag but also the character that comes before the tag and it drive me crazy.

See gif for example:

enter image description here

When I try to highlight the </h2> tag, it always grabs the > from the <small> tag too etc.

Is there a way to stop this behaviour, or an alternate way to highlight an end tag I don't know?

Upvotes: 1

Views: 412

Answers (1)

noah.ehrnstrom
noah.ehrnstrom

Reputation: 182

You can highlight each letter with "shift + R/L arrow". So if you highlight to the ">" letter then you can go one step to the right with "shift + right arrow".

Upvotes: 1

Related Questions