VSCodeVim / VSCodeVim/Vim

`vi'` inside text, surrounded by single quotes, does not select the whole text

Open
#8,008 1 comment 1 reaction 0 assignees View on GitHub

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:

  1. In a new file, write 'hello, world'
  2. Place cursor on letter o
  3. Press vi' command
  4. See only letter o is selected, instead of the whole hello, 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.