coc-extensions / coc-powershell

PowerShellEditorService integration for coc.vim
MIT License
58 stars 9 forks source link

Integrated Console fails to load #149

Open lc9er opened 2 years ago

lc9er commented 2 years ago

System Details

Issue Description

When opening a ps1 file, the Powershell integrated console begins to load, then fails with the error:

[coc.nvim] Error on activate extension coc-powershell: vscode.workspace.onDidCloseTerminal is not a function

Expected Behaviour

The Powershell Integrated Console loads. I can send commands to the terminal for execution.

Actual Behaviour

"=====> Powershell Integrated Console <=====" is displayed in a split, the error message is displayed, and then the integrated console never finishes loading. I'm unable to send commands to the integrated console. If I try, I get this error:

[coc.nvim] Error on "runCommand": Command: powershell.evaluateLine not found

adamency commented 2 years ago

Got this issue too with Neovim on Windows 11.

However this is not an issue with the integrated console, it loads fine on my end. This is an issue with coc-powershell itself which doesn't run at all, as the process execution fails. The whole program is unusable (on Windows at least) until this is fixed.