Can't jump to matching html tag in .jsx when in visual line mode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
In Visual Line Mode one can't jump to tag
To Reproduce
Steps to reproduce the behavior:
- Go to start of tag in jsx file
- Go into Visual Line mode (Shift+V)
- Type % (or alternatively open command menu for 'emmet matching pair' or any of the available pair options)
- Cursor will not jump to ending tag
Expected behavior
In Visual Line Mode I expect it to jump to ending tag
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.14.5
- VSCode version: 1.45.1
- OS: Darwin x64 19.4.0
Additional context
This issue only occurs in Visual Line mode, it seems to work fine in other modes. My goal is to Visual Select and then hop to the close tag all fully selected with the tag included
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce this in a JSX file by entering Visual Line mode and using % or the matching-pair command, then trace the matching-pair path; done means the cursor reaches the closing tag in Visual Line mode without regressing other modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100