PowerShell / PowerShell/PowerShellEditorServices
Slow performance for alias lookup
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 767
- 派生
- 266
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 1
描述
In Visual Studio Code, the ctrl + F5 keyboard shortcuts translates PowerShell command aliases. The performance of this leaves a lot to be desired, and sometimes results in a confusing end user experience when you're rapidly moving the cursor around the editor.
Can we improve performance of this function, to make it more usable? If necessary, we could cache a lookup table, and either invalidate it on-demand, or periodically update it with a background worker.
Cheers,
Trevor Sullivan
https://trevorsullivan.net
https://twitter.com/pcgeek86
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 指出了由 Visual Studio Code 的 ctrl+F5 快捷键触发的 PowerShell 别名查找,但没有指出任何文件、测试或入口点。先追踪这次查找,并建立一个可复现的快速光标移动性能案例;完成的标准是:在没有所描述的令人困惑行为的情况下,该查找的可用性有可测量的提升。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, powershell, vscode
- 领域
- performance, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100