Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrated Console fails to load #149

Open
lc9er opened this issue Feb 24, 2022 · 1 comment
Open

Integrated Console fails to load #149

lc9er opened this issue Feb 24, 2022 · 1 comment

Comments

@lc9er
Copy link
Contributor

lc9er commented Feb 24, 2022

System Details

  • Vim or NeoVim?: Neovim
  • Version of Vim (run vim --version) or NeoVim (run nvim --version): 0.6.1
  • Version of coc-powershell (in Vim or NeoVim: :CocList extensions coc-powershell): 0.1.4
  • Operating System: Windows
  • PowerShell version (in PowerShell: $PSVersionTable): 7.2.1

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
Copy link

adamency commented Jun 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants