Freeze while waiting for go to definition

Open
#3,562 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
tooling

Research direction

Start by tracing the go to definition command while the LSP server is loading, then check how up and down movement is handled during that wait. Reproduce the freeze with a definition that takes several seconds to resolve. Done means Vim remains responsive and the cursor moves while resolution is pending.

Written by the indexing model from the issue text.

Description

Describe the bug
Freeze while waiting for go to definition to resolve.

To Reproduce

  1. Click go to definition that takes a few seconds to resolve (such as when lsp server is loading)
  2. Click up, down. Cursor doesn't move

Expected behavior
Vim to keep working

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

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.

More from VSCodeVim/Vim

All issues in VSCodeVim/Vim

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.