After `<C-t>`, put current line to center of the screen
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
When jumping back through history, the line from which I jumped is put at the bottom of the screen.
Describe the solution you'd like
I'd like to have the line I jumped from at the center of the screen.
Describe alternatives you've considered
It should be possible to leverage the already implemented action for key ['z', '.']
Additional context
To reproduce the issue: position over the name of a function in a call, press <C-]> (note how the definition is put at the center of the screen by the vscode command editor.action.goToDeclaration), then press <C-t> (the line from which we jumped from is put at the bottom of the screen).
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 history-jump entry point and compare it with the existing ['z', '.'] centering action. Reproduce the <C-]> then sequence in VS Code and verify that the original line is centered after the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100