PowerShell / PowerShell/PowerShellEditorServices

Slow performance for alias lookup

未關閉
#203 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

Issue-Bug Issue-Performance
主要語言
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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

該 issue 指出了由 Visual Studio Code 的 ctrl+F5 快捷鍵觸發的 PowerShell 別名查找,但沒有指出任何檔案、測試或進入點。先追蹤這次查找,並建立一個可重現的快速游標移動效能案例;完成的標準是:在沒有所描述的令人困惑行為的情況下,該查找的可用性有可測量的提升。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp, powershell, vscode
領域
performance, tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。