PowerShellEditorServices icon indicating copy to clipboard operation
PowerShellEditorServices copied to clipboard

Ship PowerShellEditorServices module to the PS Gallery

Open daviwil opened this issue 8 years ago • 8 comments

We should start shipping the PowerShell Editor Services module to the PowerShell Gallery so that other editors can easily pull down the dependency without having to bundle with their extension.

daviwil avatar Dec 06 '16 18:12 daviwil

Ah yes. This is still important.

TylerLeonhardt avatar Jan 13 '18 00:01 TylerLeonhardt

1.6 is a good time to start doing that I think. It'd be useful for the Atom extension.

daviwil avatar Jan 13 '18 00:01 daviwil

Hi there. Is there anything that needs to be done to make this happen? I'd like to get my third-party editor working with this, without having to manually download and update this module.

jessec17 avatar Dec 30 '20 23:12 jessec17

@jessebl we arent quite there in terms of a module maturity that would enable this scenario...out of curiosity what editor are you currently integrating PSES with? Thanks!

SydneyhSmith avatar Mar 30 '21 20:03 SydneyhSmith

@SydneyhSmith I use Neovim. Partly switching to emacs right now too, but Neovim is my bread and butter.

jessec17 avatar Jul 25 '21 00:07 jessec17

This is pretty low priority for us because it could potentially cause a lot of issues due the Editor Services' (and VS Code Extension's) current assumptions around the particular layout and bundled nature of all the required modules. It could also introduce more user confusion because many users (like those of the VS Code extension) won't need to install Editor Services from the gallery, but seeing it available might try to anyway. I love both Emacs and NeoVim, and am going to attempt to add them to our CI matrix so I can assure continued support of these editors using their respective LSP clients to communicate with PSES, but for now downloading the released zip from the GitHub releases is probably going to remain the best solution. I'd honestly rather put work into automating that process for the popular Emacs and (Neo)Vim LSP clients than redo all the bundling and layout expectations just to get this on the gallery, which actually still wouldn't make the setup of these other clients that much easier.

andyleejordan avatar Sep 21 '21 20:09 andyleejordan

@jessebl you should look at https://github.com/coc-extensions/coc-powershell

there's a script in that repo for downloading the latest PSES from the GitHub releases https://github.com/coc-extensions/coc-powershell/blob/master/downloadPSES.ps1

TylerLeonhardt avatar Sep 21 '21 20:09 TylerLeonhardt

Yup, and lsp-mode has one too (that's currently broken).

andyleejordan avatar Sep 21 '21 21:09 andyleejordan