Excessive CodeLens Requests
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- typescript, vscode
- 领域
- devtools
调研方向
首先跟踪 issue 中描述的 CodeLens 请求和刷新流程,包括客户端能力声明,以及文档处于打开状态时重复发出的请求。确认轮询从何处发起,并将其与预期的刷新通知流程进行比较。当不必要的请求停止,同时初始请求和由刷新触发的更新仍然正常工作时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Summary
When a document is open there are codelens requests roughly every 500ms.
Our client current announces it supports refresh in the clientCapabilities, so the expected flow would be:
- Client Opens Document, requests initial codelens
- Client makes changes but doesn't request new codelens.
- If server detects a change that needs a new codelens, it sends a codelens refresh request
- Client then requests codelens upon notification.
This "polling" of codelens doesn't seem right if refresh is enabled
- 主要语言
- TypeScript
- 星标
- 1.9k
- 派生
- 551
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PowerShell/vscode-powershell 的其他 Issue
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
PowerShell/vscode-powershell#5615 · 1 条评论 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 75/100
PowerShell/vscode-powershell#5607 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 62/100
PowerShell/vscode-powershell#5599 · 3 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
PowerShell/vscode-powershell#5592 · 2 条评论 · 1 个 reaction ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 62/100
PowerShell/vscode-powershell#5583 · 1 条评论 ·
查看 PowerShell/vscode-powershell 的全部 Issue
相似的 Issue
-
Table: Space fires onActivate in single-selection mode — the reference doc and the JSDoc disagree未关闭
难度 2/5 1-3 小时 新手友好度 68/100
sidorares/react-x11-components#764 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
backnotprop/plannotator#1840 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
JoviDeCroock/pracht#432 ·
维护者通常 1 天内回复
-
approved check:passed streams:add
难度 1/5 1 小时以内 新手友好度 75/100
维护者通常 1 天内回复
-
Hardware attribute name "app Connection Support" has inconsistent casing可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
walletbeat/walletbeat#1628 ·
维护者通常 1 天内回复