Unexpected behavior: In visual mode <code>`\<S-,\></code> does not take you to the start of the last selection
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Type: Bug
Describe the bug
Mode: Visual/Visual-Line/Visual-Block
`<S-,> does not take you to the start of the last selection made in a visual mode.
To Reproduce
Steps to reproduce the behavior:
- Go to any visual mode and make a selection
- Go back to normal mode
- Scroll down to another location
- Enter a visual mode and press
`<S-,>
Expected behavior
Ideally selection expands to start of last selection

Extension version: 1.24.3
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:32:34.589Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes

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 behavior in VS Code using Visual, Visual-Line, and Visual-Block modes, following the listed steps and key sequence. Trace the extension's handling of the last visual selection and verify that pressing the key sequence from a new visual selection expands it to the start of the previous selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100