VSCodeVim / VSCodeVim/Vim

Support jump to reference and use `<C-t>` to jump back

Open
#7,219 1 comment 6 reactions 0 assignees View on GitHub

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.
VSCode native editor.action.goToReferences will mess up VSCodeVim jump stack.

Describe the solution you'd like
VSCodeVim support jump to reference like ctrl-]
like vim cscope interface, ctrl-t will jump back after jumping to reference.

Describe alternatives you've considered
At least, editor.action.goToReferences will not affect VSCodeVim jump stack.

Additional context
None

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

Start by reproducing VS Code's editor.action.goToReferences behavior alongside the VSCodeVim jump stack, focusing on Ctrl-] for reference navigation and Ctrl-t for returning. Done means reference jumps do not corrupt the VSCodeVim stack and Ctrl-t returns to the prior location; the issue provides no file or test paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.