Skip to content

Setting integratedConsole.showOnStartup to false is not being respected in v2022.8.4 #4151

Closed
@szymonos

Description

@szymonos

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

In the PowerShell Preview extension the setting "powershell.integratedConsole.showOnStartup": false is not being respected and the PowerShell Extension terminal is always visible.

On existing PowerShell extension (v2022.7.2) the PowerShell Extension terminal is not visible and you can safely close all the active terminals without errors: "The Powershell Extension Terminal has stopped...", "Connection to PowerShell Editor Services (...) was closed...".

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.2.6
PSEdition                      Core
GitCommitId                    7.2.6
OS                             Linux 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

1.70.2
e4503b30fc78200f846c62cf8091b76ff5547662
x64

Extension Version

Steps to Reproduce

Set "powershell.integratedConsole.showOnStartup": false and open any terminal with ps1 script active in Editor pane. The PowerShell Extension terminal will be opened along the selected terminal which shouldn't be the case.

Visuals

No response

Logs

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions