Skip to content

PowerShell Intellisense and most right-click features stop working #2596

Closed
@messy17

Description

@messy17

Issue Description

When I author PowerShell scripts, I notice that after a non-deterministic amount of time, Intellisense for the cmdlets stops working. When this happens, the "PowerShell" progress message spins indefinitely. What else happens is that most of the right-click functions such as Go to references or Go to definition do not work. A blue progress-like indicator starts scrolling from the left to right across the top of the screen. The only way to fix this is to close VSC completely (reloading the extension of VSC does not resolve the issue). I first noticed this behavior two releases ago.
Filed with VSCode, who pointed the finger at the extension PowerShell Intellisense and most right-click feature stop working #93607 Closed
Attached Logs
microsoft/vscode#93607 [Closed]
StartEditorServices.zip
StartEditorServices.zip
StartEditorServices.zip

=====

Follow the instructions in the README about
capturing and sending logs.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.18363
VSCode 1.43.2
PowerShell Extension Version 2020.3.0

PowerShell Information

Name Value
PSVersion 5.1.18362.628
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.18362.628
BuildVersion 10.0.18362.628
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
code-spell-checker streetsidesoftware 1.8.0
docs-article-templates docsmsft 0.2.7
docs-images docsmsft 0.0.6
docs-linting docsmsft 0.0.2
docs-metadata docsmsft 1.0.4
docs-preview docsmsft 0.3.44
docs-yaml docsmsft 0.2.4
LinkCheckMD blackmist 0.3.1
powershell ms-vscode 2020.3.0
vscode-markdownlint DavidAnson 0.34.0
vscode-sidebar Acrolinx 1.1.2
vscode-yaml redhat 0.7.2

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