Html tag mirror causes issues with visual line select.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Html tag mirror causes issues with visual line select etc.
To Reproduce
Steps to reproduce the behavior:
- Place cursor in html tag, press shift v and both the top/bottom html tags are selected
Expected behavior
When I tried to visually select some text to grab it and copy somewhere else, the second cursor on the top tag will select everything I don't want, unrelated to what I intended to select.
- Extension (VsCodeVim) version: 1.12.2
- VSCode version: 1.41.0
- OS: Win 10
Temporary fix
html.mirrorCursorOnMatchingTag = false
I don't have a lot of time right now, if this needs more clarification let me know.
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
Reproduce the issue in VSCodeVim 1.12.2 on VS Code 1.41.0 by placing the cursor in an HTML tag and pressing Shift+V, then compare the result with html.mirrorCursorOnMatchingTag disabled. Done means visual line selection no longer includes the matching HTML tag's mirrored cursor or unrelated text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100