microsoft / microsoft/language-server-protocol
Question regarding ordering for rename requests
未关闭
还没有人认领这个 Issue。
clarification
rename
- 主要语言
- TypeScript
- 星标
- 13k
- 派生
- 1k
- 平均合并
- 6 天 1 小时
- 30 天内合并 PR
- 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
issue 中没有指定文件、测试或入口点。首先查看 Language Server Protocol 关于 request-cancellation 和 WorkspaceEdit 的指导,然后明确重叠 Rename 请求的预期顺序或取消行为,以及同一规则是否适用于其他生成 WorkspaceEdit 的请求。
由索引模型根据 Issue 内容生成。
评估
- 领域
- api
- Issue 类型
- 文档
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100