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

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

Closed
messy17 opened this issue Mar 31, 2020 · 8 comments
Closed

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

messy17 opened this issue Mar 31, 2020 · 8 comments
Labels
Area-IntelliSense Issue-Performance Something's slow. Resolution-Duplicate Will close automatically.

Comments

@messy17
Copy link

messy17 commented Mar 31, 2020

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
@ghost ghost added the Needs: Triage Maintainer attention needed! label Mar 31, 2020
@TylerLeonhardt
Copy link
Member

Can you give this a go in the PowerShell Preview extension? It has a few performance fixes in it and it might be fixed in that already.

@TylerLeonhardt TylerLeonhardt added Needs-Repro-Info and removed Needs: Triage Maintainer attention needed! labels Apr 2, 2020
@messy17
Copy link
Author

messy17 commented Apr 3, 2020

@TylerLeonhardt Thank you for the direction. I disabled the current and installed the preview. Encountered the same problem using the preview. Additional info-- it does not seem to matter how big the script is. One script is 800 lines while the other is 200. the same side effects occur the PowerShell extension progress message just spins endlessly. Also, when in this state, code folding does not work either. It is visible, but if you click the chevron, it does not respond.

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Apr 3, 2020
@PrzemyslawKlys
Copy link
Contributor

I've been seeing the same thing. I'm using the newest preview. First, few autocomplete features work fine and then it suddenly stops. Terminal continues to work (PSReadLine).

@TylerLeonhardt
Copy link
Member

Thanks for the info! Can you also attach the logs here so we can get a better idea of what's going on?

@TylerLeonhardt TylerLeonhardt removed the Needs: Maintainer Attention Maintainer attention needed! label Apr 5, 2020
@PrzemyslawKlys
Copy link
Contributor

1586085787-b4f071c6-ec13-4ba6-8d6d-7552d19a59661586085785900.zip

When I stumble on the issue IntelliSense doesn't work. But if you wait enough time it comes back from time to time.

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Apr 5, 2020
@PrzemyslawKlys
Copy link
Contributor

@SydneyhSmith SydneyhSmith added Area-IntelliSense Issue-Performance Something's slow. and removed Needs: Maintainer Attention Maintainer attention needed! labels Apr 7, 2020
@SydneyhSmith
Copy link
Collaborator

We are working on the fix for this issue right now, but I am going to mark as duplicate of #2522

@SydneyhSmith SydneyhSmith added the Resolution-Duplicate Will close automatically. label Apr 7, 2020
@ghost
Copy link

ghost commented Apr 8, 2020

This issue has been marked as duplicate and has not had any activity for 1 day. It has been closed for housekeeping purposes.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IntelliSense Issue-Performance Something's slow. Resolution-Duplicate Will close automatically.
Projects
None yet
Development

No branches or pull requests

4 participants