PowerShellEditorServices
PowerShellEditorServices copied to clipboard
Ship PowerShellEditorServices module to the PS Gallery
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.
Ah yes. This is still important.
1.6 is a good time to start doing that I think. It'd be useful for the Atom extension.
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.
@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 I use Neovim. Partly switching to emacs right now too, but Neovim is my bread and butter.
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.
@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
Yup, and lsp-mode has one too (that's currently broken).