Queue timeout error when using typescript_go_to_definition

オープン
#754 コメント 1 件 リアクション 4 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, typescript
領域
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時間
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/TypeScript-Sublime-Plugin のほかの issue

microsoft/TypeScript-Sublime-Plugin の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。