Skip to content

PowerShell Integrated Console Does Not Work in Constrained Language Mode [needs test] #3484

Closed
PowerShell/PowerShellEditorServices
#2055
@My-Random-Thoughts

Description

@My-Random-Thoughts

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.

Summary

When in ConstrainedLanguage mode the PowerShell integrated console does not load correctly. All I get is the title message: =====> PowerShell Integrated Console v2021.6.2 <=====

This affects both x32 and x64 terminals.

PowerShell Version

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

Visual Studio Code Version

`code --version` does not return any output

Version: 1.58.2 (user setup)
Commit: c3f126316369cd610563c75b1b1725e0679adfb3
Date: 2021-07-14T22:10:15.214Z (1 wk ago)
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.18363

Extension Version

[email protected]
`code --{anything}` does not produce any output

PowerShell v2021.6.2 is installed

Steps to Reproduce

Open VSCode,
Create New PowerShell Document,
Integrated Terminal should open automatically if configured
Wait until the heat-death of the universe for it to complete opening

My settings file contains only the following configured terminals:

    "terminal.integrated.profiles.windows":{
        "PowerShell": {
            "source": "PowerShell",
            "icon": "terminal-powershell"
        },
    },
    "terminal.integrated.defaultProfile.windows": "PowerShell",

Visuals

No response

Logs

Logs.zip

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions