vscode-powershell: IntelliSense is occasionally slow when editing PowerShell scripts

At times it could take up to 90 seconds for Intellisense to finally come up, sometimes I have to manually initiate (Ctrl+Space), and other times it comes up very quickly.

System Details

  • Operating system name and version: Wind 10 Enterprise x64, 8 CPU, 12GB RAM
  • VS Code version: 1.10.2
  • PowerShell extension version: v0.11.0
  • Output from $PSVersionTable:

Name Value


PSVersion 5.0.10586.672 PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} BuildVersion 10.0.10586.672 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 9
  • Comments: 23 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Intellisense is always slow for me, however it’s rapid in the ISE.

No problem! One more thing to try when you see this again, when IntelliSense becomes slow, try running these two commands in the Integrated Console and then try IntelliSense again to see if the speed improves:

Remove-Module PowerShellGet -Force
Remove-Module PackageManagement -Force

This takes those two modules out of the session. I suspect that they may be causing the IntelliSense slowness.