You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PowerShell Intellisense and most right-click features stop working #2596
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.
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.
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).
Activity
TylerLeonhardt commentedon Apr 2, 2020
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.
messy17 commentedon 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.
PrzemyslawKlys commentedon Apr 4, 2020
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 commentedon Apr 5, 2020
Thanks for the info! Can you also attach the logs here so we can get a better idea of what's going on?
PrzemyslawKlys commentedon Apr 5, 2020
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.
PrzemyslawKlys commentedon Apr 6, 2020
1586174384-d0306bd0-1f9c-47dc-b8d6-b57335ec7a951586174379982.zip
Another log.
SydneyhSmith commentedon Apr 7, 2020
We are working on the fix for this issue right now, but I am going to mark as duplicate of #2522