From 2bbf3ab7b1b602a5e49a8b28bca5b74c71d0d934 Mon Sep 17 00:00:00 2001 From: Andy Schwartzmeyer Date: Tue, 5 Jul 2022 12:10:39 -0700 Subject: [PATCH 1/2] Add note about accidentally disabling completions Per #4059. --- docs/troubleshooting.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index b86845530c..2e7c370159 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -36,6 +36,19 @@ Script analysis is provided by the [PSScriptAnalyzer][] project on GitHub. If th message starts with `[PSScriptAnalyzer]` or if you are getting faulty script diagnostics (red and green squiggly lines under PowerShell in scripts) please [open an issue there][]. +## Completions aren't appearing + +First, please ensure that the extension itself has properly started. Do this by opening +the PowerShell Integrated Console and checking the value of the variable `$psEditor`, +it should return a version and other fields. If it does not, you're probably in a +different "PowerShell" terminal in VS Code, and not the extension's integrated console. +So please open a bug about your extension failing to start instead. + +If the extension _is_ started and the PSIC functional, completions should appear! Please +double-check that your `editor.suggest.showFunctions` VS Code setting is `true`, as +setting it to `fals`e _will_ disable completions (from all extensions). You may also want +to check other related settings under "Text Editor -> Suggestions" in VS Code. + ## Double-click isn't selecting the whole variable VS Code provides a default set of word separators, that is, characters that split words From a1ec503cc34a2384480db35ca8bf94fd28e94d29 Mon Sep 17 00:00:00 2001 From: Patrick Meinecke Date: Wed, 6 Jul 2022 15:32:14 -0400 Subject: [PATCH 2/2] Update docs/troubleshooting.md --- docs/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 2e7c370159..a3cae81f71 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -46,7 +46,7 @@ So please open a bug about your extension failing to start instead. If the extension _is_ started and the PSIC functional, completions should appear! Please double-check that your `editor.suggest.showFunctions` VS Code setting is `true`, as -setting it to `fals`e _will_ disable completions (from all extensions). You may also want +setting it to `false` _will_ disable completions (from all extensions). You may also want to check other related settings under "Text Editor -> Suggestions" in VS Code. ## Double-click isn't selecting the whole variable