PowerShell / PowerShell/PowerShellEditorServices

Slow performance for alias lookup

オープン
#203 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Issue-Bug Issue-Performance
主要言語
C#
スター
767
フォーク
266
平均マージ
3日 16時間
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

この issue は、Visual Studio Code の ctrl+F5 ショートカットによってトリガーされる PowerShell エイリアス検索を特定していますが、ファイル、テスト、エントリーポイントのいずれも示していません。まずその検索を追跡し、カーソルを素早く動かした場合の再現可能なパフォーマンスケースを確立してください。完了とは、説明されている紛らわしい挙動なしに、検索が測定可能なほど使いやすくなっていることを意味します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, powershell, vscode
領域
performance, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。