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
PowerShell intellisense works until I open the command explorer once. The command explorer never populates, and I have to close the command explorer and restart the PowerShell session to get intellisense working again.
It will then send a textDocument/completion message when I do Ctrl + Space, but it will never receive any response, even after several minutes of waiting.
The text was updated successfully, but these errors were encountered:
I see same issue. Command Explorer never populates. When I run code.exe as different user, on same computer, Command Explorer and Intellisense work as expected.
After removing the Environment variable “Path” element, pointing to a folder containing PowerShell scripts, the Command Explorer and Intellisense worked as expected.
The root cause appears to be caused by the actual script code I included in my PowerShell script as outlined in the above issue.
Rewriting the code fixes the issue.
Prerequisites
Summary
PowerShell intellisense works until I open the command explorer once. The command explorer never populates, and I have to close the command explorer and restart the PowerShell session to get intellisense working again.
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Visuals
Recording.2024-05-17.234022.mp4
Logs
PowerShell Editor Services Client logs just after opening Command Explorer
It will then send a
textDocument/completion
message when I do Ctrl + Space, but it will never receive any response, even after several minutes of waiting.The text was updated successfully, but these errors were encountered: