Queue timeout error when using typescript_go_to_definition

未关闭
#754 1 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
领域
devtools

调研方向

首先,在报告的 Sublime 3.2.2 和 macOS Mojave 配置上使用 typescript_go_to_definition 重现该故障,然后检查控制台日志以查找队列超时。比较启用索引排除时的行为,并确定定义请求在哪个环节停止响应。当该命令能够可靠地跳转到定义,且无需重复点击或不会发生队列超时时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
JavaScript
星标
1.7k
派生
236
平均合并
21 天 13 小时
30 天内合并 PR
1

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/TypeScript-Sublime-Plugin 的其他 Issue

查看 microsoft/TypeScript-Sublime-Plugin 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。