`workbench.action.gotoSymbol` doesn't move cursor
Open
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
After jumping to symbol via workbench.action.gotoSymbol VIM cursor remains at original position.
To Reproduce
- Jump to a symbol via
workbench.action.gotoSymbol - Press
ito insert
Expected behavior
Should switch to Insert mode at symbol's position.
Observed behavior
Switches to Insert mode at original cursor position.
Environment (please complete the following information):
Extension (VsCodeVim) version: v1.27.3
Version: 1.91.1 (user setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:13.855Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT arm64 10.0.26100
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 by tracing the workbench.action.gotoSymbol command and how VSCodeVim observes cursor or selection changes. Reproduce the reported sequence, then verify that pressing i enters Insert mode at the selected symbol position rather than the original cursor position.
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
- 35/100