`gb` command is buggy & ignores letter case
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
- Click thumbs-up 👍 on this issue if you want it!
- Click confused 😕 on this issue if not having it makes VSCodeVim unusable.
The VSCodeVim team prioritizes issues based on reaction count.
What did you do?
Let's say I have this code:
images: images[0],
imAge: image,
selectedImage: images.selectedImage,
My cursor is on images
And I use gb
What did you expect to happen?
I expected that it would step by step select all 3 occurences of images in my code
What happened instead?
It selected image, (yes! comma too)
It also ignores letter case (ignorecase is false) so it selects imAge: Image: etc...
Technical details:
-
VSCode Version:
Version 1.11.1
Commit d9484d12b38879b7f4cdd1150efeb2fd2c1fbf39
Date 2017-04-06T13:58:12.954Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0 -
VsCodeVim Version: v0.6.17
-
OS: Windows 10 Home 64bit
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
Start at the TypeScript entry point for the gb command and inspect any related tests. Reproduce the example with ignorecase disabled, then verify that gb selects each exact images occurrence without including the comma or matching differently cased text.
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
- Mostly clear
- Newbie friendliness
- 45/100