question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PowerShell Intellisense does not work

See original GitHub issue

System Details

VSCode Version: 1.28.0 (user setup) Commit: 431ef9da3cf88a7e164f9d33bf62695e07c6c2a9 Date: 2018-10-05T14:58:53.203Z Electron: 2.0.9 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 Architecture: x64

VSCode extensions:

Darfka.vbscript@1.0.4 formulahendry.code-runner@0.9.4 GrapeCity.gc-excelviewer@2.1.26 KnisterPeter.vscode-github@0.30.0 luggage66.VBScript@0.0.2 ms-vscode.csharp@1.16.2 ms-vscode.powershell@1.9.0

PSES version:

PowerShell version:

Name Value


PSVersion 5.1.14409.1012 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} BuildVersion 10.0.14409.1012 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

System Details Output


Issue Description

I am experiencing a problem with… Microsoft PowerShell extension 1.9.0

How to reproduce:

  1. Open new file with .ps1 extension
  2. Enter Get-Child (or any partial PowerShell command)
  3. Result, no suggestions and no code complete
  4. Enter a complete PS command like Get-ChildItem -
  5. Result, no parameter suggestions

Background: This seems to have started since the latest VSCode update 1.28.0 (user setup). The code snippets seem to work OK but not the commands themselves. I tried re-installing the extension but it did not help.

Expected Behaviour

I would expect normal intellisense behavior as before, which worked great before VSCode 1.28.0

Actual Behaviour

Intellisense does not work at all. Snippets seem to work OK.

Attached Logs

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
elliottgaryusacommented, Oct 12, 2018

A complete uninstall then new install of all extensions and VSCode seems to have fixed the problem. So now I’m not sure if the root of the issue is with the extension or VSCode. The issue is resolved for now.

0reactions
elliottgaryusacommented, Oct 12, 2018

I noticed that intellisense seems to work as expected on another pc that I upgraded from VSCode 1.27.1 to 1.28.0. So it appears that my install is goofed up somehow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intellisense not working properly · Issue #4059 · PowerShell ...
Intellisense is no longer working consistently. cmdlets that have not been used earlier within the workspace will not tab-complete, or provide ...
Read more >
PowerShell autocomplete is not working? Try these methods
1. Make sure IntelliSense Complete Word is invoked ... Go to the Edit menu and click Start Snippets. Hit Start IntelliSense, if it...
Read more >
visual-studio-code Powershell command auto-complete in the ...
I've loaded the powershell extension, and when I connect to Exchange auto-completion of cmdlets works in the integrated powershell window, but ...
Read more >
Intellisense not working for powershell ISE - TechNet
RM powershell commands. However, since yesterday, it is suddenly not working anymore (I suspect it is due to an update).
Read more >
VS Code and PowerShell Intellisense issues : r/vscode - Reddit
VS Code is primary editor for writing PowerShell code but I'm constantly running into issues lately I'm curious if others are having the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found