Skip to content

VSCode (Powershell) starts with two terminals open: Powershell Integrated and "pwsh" (cont'd) #4471

@joe-miller-hgs

Description

@joe-miller-hgs

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

this is a continuation of #3925.
it is not a new issue. it is an issue that has repeatedly been closed with no solution.

i am having the same problem as github-account1111.
when i open vscode powershell extension, i get two terminals:
image
and
image

i don't want two terminals.
this problem started when i installed pwsh.
the dual terminals only appear when i select pwsh in the session menu.
if i caused the problem somehow when i installed pwsh, i have no idea how and no idea how to fix it.

here's my session menu:
image

i prefer to have only the PSIC terminal when i open vscode with pwsh selected.
i don't need or want a duplicate terminal.
at minimum, it causes a big chunk of my terminal window to be consumed by the two-terminal list on the right, as shown in the first two images.
it also causes problems if i accidently close the wrong terminal when i try to restore my full terminal window.

what other info can i provide to help you diagnose this problem?
thanks for your time.

PowerShell Version

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.3
PSEdition                      Core
GitCommitId                    7.3.3
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

.code --version
1.76.2
ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
x64

Extension Version

.code --list-extensions --show-versions | Select-String powershell

ms-vscode.powershell@2023.2.1

Steps to Reproduce

open vscode with pwsh selected

Visuals

in original post

Logs

EditorServices.log
Language_Server_Protocol_payload_logs.log
StartEditorServices.log
vscode-powershell.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions