microsoft / microsoft/TypeScript-Sublime-Plugin

Queue timeout error when using typescript_go_to_definition

Open
#754 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
236
Avg merge
21d 13h
Merged PRs (30d)
1

Description

The function typescript_go_to_definition used to work quite well for me and I have it mapped to my middle-click so that when I middle-click a name, it will jump to the code definition. Recently, this hasn't been working reliably and I don't know what changed. It started requiring multiple clicks, first click would pause then nothing, second click the same, third click would jump to the definition with no pause.

Now it hangs almost all the time and doesn't jump to the definition and opening the console log, it says queue timeout after each click.

I excluded a lot of folders and files from indexing like node_modules and build files and that sped up indexing but hasn't fixed this issue.

Is there a way I can diagnose this like a verbose mode to see where it is getting stuck?

This is on MacOS Mojave 10.14.6, Sublime 3.2.2 build 3211.

Contributor guide

No contributing guide indexed for this repository

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 the failure with typescript_go_to_definition on the reported Sublime 3.2.2 and macOS Mojave setup, then inspect the console log for the queue timeout. Compare behavior with indexing exclusions enabled and identify where the definition request stops responding. Done means the command reliably jumps to the definition without repeated clicks or queue timeouts.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.