PowerShellEditorServices icon indicating copy to clipboard operation
PowerShellEditorServices copied to clipboard

Refactor EditorUIService to use LSP showMessage and showMessageRequest

Open JustinGrote opened this issue 1 year ago • 0 comments

Prerequisites

  • [X] I have written a descriptive issue title.
  • [X] 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.

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#window_showMessageRequest

Proposed Design

Replace existing messaging with LSP but keep methods the same if possible to avoid breaking.

JustinGrote avatar Sep 16 '24 04:09 JustinGrote