PowerShellEditorServices icon indicating copy to clipboard operation
PowerShellEditorServices copied to clipboard

Simplify PSES CLI so startup with non-Code editors is easier

Open andyleejordan opened this issue 2 years ago • 3 comments

It takes way too many arguments to launch PSES correctly, which is blocking #1829. Once we simplify this, we could conceivably add a -lsp flag to PowerShell itself that would simplify it even further.

andyleejordan avatar Jul 13 '22 18:07 andyleejordan

How definitive is this? Do you intend to completely rewrite the CLI/introduce "breaking changes" with this? I imagine that any changes you would make would have to be backwards compatible.

But I have to ask, since my PSES manual controller is dependent on how your CLI works.

pinuke avatar Oct 18 '22 06:10 pinuke

I don't intend to make breaking changes. The best coverage I have for that is

https://github.com/PowerShell/PowerShellEditorServices/blob/9416a8ae9c7df5a2539731388753e558193c37fb/test/emacs-test.el#L48-L54

and

https://github.com/PowerShell/PowerShellEditorServices/blob/9416a8ae9c7df5a2539731388753e558193c37fb/test/vim-test.vim#L6-L13

andyleejordan avatar Oct 18 '22 17:10 andyleejordan

****

fai8146767 avatar Dec 11 '23 23:12 fai8146767