microsoft / microsoft/language-server-protocol
Question regarding ordering for rename requests
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 13k
- フォーク
- 1k
- 平均マージ
- 6日 1時間
- マージ済み PR(30日)
- 10
説明
I am developing a new language server and I'm having issues understanding how multiple rename requests should be handled and in which order.
Suppose the client sends a rename request and the server starts computing the results, while it's computing, the client sends another rename request, in this case, what should do the server do?
- Should it try to fullfill the first rename request and then process the second request such that the requests are queued at the server?
- Should the request be cancelled? In tha case: Who should cancel the request? and which of the two request should be cancelled?
Note that the same questions can be asked about all requests that send a WorkspaceEdit as a result.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue では、ファイル、テスト、エントリーポイントのいずれも指定されていません。まず Language Server Protocol の request-cancellation と WorkspaceEdit に関するガイダンスを確認し、次に、重複する Rename リクエストに対して期待される順序またはキャンセル動作と、同じルールが WorkspaceEdit を生成する他のリクエストにも適用されるかどうかを明確にしてください。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- api
- issue の種類
- ドキュメント
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100