microsoft / microsoft/TypeScript-Sublime-Plugin
Queue timeout error when using typescript_go_to_definition
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.7k
- フォーク
- 236
- 平均マージ
- 21日 13時間
- マージ済み PR(30日)
- 1
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、報告されている Sublime 3.2.2 と macOS Mojave の構成で typescript_go_to_definition を使って失敗を再現し、次にコンソールログを調べてキューのタイムアウトを確認します。インデックス作成の除外を有効にした場合の動作と比較し、定義リクエストが応答しなくなる箇所を特定します。コマンドが、繰り返しクリックしたりキューのタイムアウトが発生したりすることなく、確実に定義へ移動できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, typescript
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100