PowerShell / PowerShell/PowerShellEditorServices
Refactor EditorUIService to use LSP showMessage and showMessageRequest
オープン
まだ誰も着手していません。
Issue-Enhancement
Needs: Triage
- 主要言語
- C#
- スター
- 767
- フォーク
- 266
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 1
説明
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
Summary
EditorUIService currently uses custom messages to handle prompts. They should use the LSP spec for this instead so it doesn't have to be handled special in the client.
Proposed Design
Replace existing messaging with LSP but keep methods the same if possible to avoid breaking.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず EditorUIService を見つけ、現在のカスタムプロンプトメッセージがどのように処理されているかを確認します。次に、リンクされている LSP 3.17 の window/showMessageRequest 仕様を読み、既存のメッセージメソッドを特定して、LSP メッセージングを使用しながらシグネチャを維持できるかどうかを判断します。プロンプトがクライアント側の特別な処理なしに標準の LSP メッセージを使用すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- api, developer-experience
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100