vscode-powershell: Preview extension not loading

System Details

### VSCode version: 1.30.2 61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8 x64

### VSCode extensions:
bierner.github-markdown-preview@0.0.2
bierner.markdown-checkbox@0.1.1
bierner.markdown-emoji@0.0.7
bierner.markdown-preview-github-styles@0.1.4
bierner.markdown-yaml-preamble@0.0.2
DavidAnson.vscode-markdownlint@0.23.0
eamodio.gitlens@9.4.1
ms-mssql.mssql@1.4.0
ms-vscode.azure-account@0.8.0
ms-vscode.PowerShell@1.11.0
ms-vscode.PowerShell-Preview@2.0.0
redhat.vscode-yaml@0.2.1
streetsidesoftware.code-spell-checker@1.6.10
yzhang.markdown-all-in-one@2.0.1


### PSES version:

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      5.1.18317.1000
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18317.1000
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

I am experiencing a problem with getting the preview extension to load, after disabling the release extension

Expected Behaviour

Extension should load; be able to open the Integrated Console, access PowerShell options from the command pallet; etc.

Actual Behaviour

command ‘PowerShell.OpenLogFolder’ not found command ‘PowerShell.ShowSessionConsole’ not found command ‘PowerShell.RestartSession’ not found

Attached Logs

Logs never generate. 👎

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (13 by maintainers)

Most upvoted comments

I’ve figured this out and have a fix for it. Will submit a PR soon.

Another confirmation. Opening a new file, doesn’t trigger loading of the preview extension. If I load a folder, and then open a .ps1 file, preview extension is loaded as expected.