PowerShell / PowerShell/PowerShellEditorServices
Make InsertText wait for changes
オープン
まだ誰も着手していません。
Area-Extension Terminal
Issue-Bug
- 主要言語
- C#
- スター
- 767
- フォーク
- 266
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 1
説明
Currently if you are making a lot of changes to the same file you need to either use Start-Sleep after each call or watch FileContext for the changes to show. Otherwise it won't be inserted in the correct position.
This can be demonstrated by running:
# These characters will be inserted in a random order.
'abcdefg'.ToCharArray() | % { $psEditor.GetEditorContext().CurrentFile.InsertText($_) }
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
CurrentFile.InsertText エントリポイントから始め、本文に示されている PowerShell パイプラインを使って問題を再現してください。Issue ではソースファイルもテストも指定されていません。完了の条件は、Start-Sleep を使ったり FileContext を監視したりせずに、1つのファイルへの繰り返しの挿入が意図した順序で完了することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- developer-experience
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100