coc-extensions / coc-powershell

PowerShellEditorService integration for coc.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PSES Preview doesn't load

corbob opened this issue · comments

System Details

  • Vim or NeoVim?: NeoVim

  • Version of Vim (run vim --version) or NeoVim (run nvim --version): NVIM v0.4.0-1234-g1b99aa8c5 (a few days old nightly)

  • Version of coc-powershell (in Vim or NeoVim: :CocList extensions coc-powershell): 0.0.17 (local build with attempts to add powershell/showHelp command)

  • Operating System: Windows 10 build 18922 (insiders build)

  • PowerShell version (in PowerShell: $PSVersionTable): 5.1.18922.1000

Issue Description

Using downloadPSES.ps1 with the -AllowPreRelease flag. Getting the message:

An error occurred while starting PowerShell Editor Services:

The argument is null. Provide a valid value for the argument, and then try running the command again.
   at System.Management.Automation.ValidateNotNullAttribute.Validate(Object arguments, EngineIntrinsics engineIntrinsics)
   at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)


Expected Behaviour

Would expect PSIC to load without issue.

Actual Behaviour

Receiving error in attempting to load PSIC.

Ah... The Start-EditorServices.ps1 params might be different...

This is a relic of the past