VSCodeVim / VSCodeVim/Vim

Last char isn't highlighted in visual mode

Open
#3,974 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/selection kind/bug
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
When my cursor is on last char and I enter to visual mode last char isn't highlighted but still selected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to last char
  2. Enter to visual mode
  3. Move cursor
  4. See error

Expected behavior
This isn't a big problem cause last char is still selected even if not highlighted but I'm a little perfectionist and this bug is little teasing.

Screenshots
Alt Text

Environment:

  • Extension (VsCodeVim) version: 1.9.0
  • VSCode version: 1.37.0
  • OS: Linux x64

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 VSCode using the listed steps: place the cursor on the last character, enter visual mode, and move the cursor. Then trace the extension's visual-mode highlighting behavior. Done means the last selected character is visibly highlighted as well as selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.