Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug: InsertCommand error from PowerShell Command Explorer #2793

Open
@CodIoT

Description

System Details

System Details Output

### VSCode version: 1.47.0-insider 376d9d9d785ccca128fdbb16f001446d0ad64d32 x64
### VSCode extensions:
ms-dotnettools.dotnet-interactive-vscode@1.0.135202
ms-dotnettools.vscode-dotnet-runtime@0.1.2
ms-python.python@2020791394-dev
ms-vscode-remote.remote-containers@0.126.0
ms-vscode-remote.remote-ssh-edit-nightly@2020642660
ms-vscode-remote.remote-ssh-nightly@2020642660
ms-vscode-remote.remote-wsl@0.44.4
ms-vscode-remote.vscode-remote-extensionpack@0.20.0
ms-vscode.powershell@202060
ms-vscode.powershell-preview@2020年6月1日
### PSES version: 2.2.0.0
> $psEditor.EditorServicesVersion
Major Minor Build Revision
----- ----- ----- --------
2 2 0 0
### PowerShell version:
Name Value
---- -----
PSVersion 7.0.2
PSEdition Core
GitCommitId 7.0.2
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Issue Description

I am experiencing a problem with the Insert Command operation in "(Preview) PowerShell Command Explorer: PowerShell Commands" when focus is in the PowerShell Integrated Console and no file is open for editing.

Expected Behaviour

-- Description of what should be happening --
I anticipate the selected command to be inserted at the cursor location in PowerShell Integrated Console.

Actual Behaviour

-- Description of what actually happens --
Error popup shows,
"Error running command PowerShell.InsertCommand: Running the contributed command: 'PowerShell.InsertCommand' failed.. This is likely caused by the extension that contributes PowerShell.InsertCommand."

Attached Logs

Follow the instructions in the troubleshooting docs
about capturing and sending logs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /