PowerShell / PowerShell/vscode-powershell

Command Explorer never loads for Powershell ver. 7. It does load with 5.1 X64

Open
#2,949 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Command Explorer Issue-Performance
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

System Details

System Details Output

### VSCode version: 1.48.2 a0479759d6e9ea56afa657e454193f72aef85bd0 x64

### VSCode extensions:
ms-vscode-remote.remote-wsl@0.44.5
ms-vscode.powershell@2020.6.0


### PSES version: 2.2.0.0

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      5.1.17763.1007
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.1007
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Issue Description

I am experiencing a problem with the powershell command explorer window. It never loads when I'm running powershell 7.0 as the PoSH version - but it will eventually load when 5.1 x64 is loaded. Intellisense will also stop working when I try to refresh the command explorer.

Expected Behaviour

Command explorer should load available commands.

Actual Behaviour

It never does.

Attached Logs

Follow the instructions in the troubleshooting docs
LOGZIP.zip

about capturing and sending logs.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docs/troubleshooting.md and inspect the attached LOGZIP.zip. Reproduce the Command Explorer failure with PowerShell 7.0, then compare it with PowerShell 5.1 x64 and observe the IntelliSense behavior after refresh. Done means the explorer loads available commands and IntelliSense continues working under PowerShell 7.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.