`vi'` inside text, surrounded by single quotes, does not select the whole text
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
vi' inside text, surrounded by single quotes, does not select the whole text, but rather surrounds a single symbol with single quotes.
To Reproduce
Steps to reproduce the behavior:
- In a new file, write
'hello, world' - Place cursor on letter
o - Press
vi'command - See only letter
ois selected, instead of the wholehello, world
Expected behavior
Text, surrounded by single quotes, is selected.
Environment (please complete the following information):
- Extension Version:
1.24.1 - OS Version:
Windows_NT x64 10.0.19044 - VS Code version:
1.71.2
Additional context
vi' seems to have stopped working correcly in extension version 1.17.0
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 VS Code with the VSCodeVim extension using a file containing 'hello, world'; place the cursor on a letter and run vi'. Compare the selection with the expected inner single-quoted text, using the reported VS Code, extension, and Windows versions as context. Done means the whole hello, world text is selected rather than only the character under the cursor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100