"go to definition", etc go to the right line, but wrong column
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
using "go to definition" doesn't seem to update the column - it keeps the previous column.
To Reproduce
Steps to reproduce the behavior:
- Click on a function call
- Right-click
- "go to definition"
- Notice the column LOOKS correct
- Move cursor using hjkl
- Notice the cursor column jumps to where you were before the "go-to-definition", but on the correct line.
Expected behavior
The column is in-sync just like the row
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: 0.16.6
- VSCode version: 1.27.2
- OS: Linux - Kubuntu current LTS
Additional context
None
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 issue in VSCodeVim by following the listed go-to-definition steps, then trace the extension's definition-navigation handling. The fix is complete when moving with hjkl preserves the destination column instead of restoring the previous one; the payload does not name a file or test to start from.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100