Skip to content

Commit 9c1a6a5

Browse files
committed
Fix #361: Add troubleshooting note about IntelliSense slowness in PS 5.0
1 parent 853a47a commit 9c1a6a5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/troubleshooting.md

+12
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
This document contains troubleshooting steps for commonly reported issues when using the
44
PowerShell extension for Visual Studio Code.
55

6+
## Windows
7+
8+
### 1. IntelliSense is extremely slow on PowerShell 5.0
9+
10+
There is a known issue with PowerShell 5.0 which, for a small number of users, causes IntelliSense
11+
(code completions) to return after 5-15 seconds. The following steps *might* resolve the issue for you:
12+
13+
1. In a PowerShell console, run the following command: `Remove-Item -Force -Recurse $env:LOCALAPPDATA\Microsoft\Windows\PowerShell\CommandAnalysis`
14+
2. Restart Visual Studio Code and try getting IntelliSense again.
15+
16+
This issue has been resolved in PowerShell 5.1.
17+
618
## macOS (OS X)
719

820
### 1. PowerShell IntelliSense does not work, can't debug scripts

0 commit comments

Comments
 (0)