Windows Terminal as external fails to open wsl terminal as default #19166

Open
opened 2026-01-31 06:35:39 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Jan 3, 2023).

Originally filed at https://github.com/microsoft/vscode/issues/159430

Type: Bug

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.70.2
  • OS Version: Windows 11

Steps to Reproduce:

  1. Install windows terminal extension
  2. Install Windows Terminal app.
  3. Set in your settings.json:
    "terminal.explorerKind": "external",
    "terminal.external.windowsExec": "wt"
  1. Configure in Windows Terminal to open default terminal "Ubuntu" (WSL).
  2. Go to VS Code and press Ctrl+Shift+C to open external terminal. Output:
    image

What I would expect to happen is to open like this, in the current ${workspaceDirectory}: image

Extension version: 0.7.0 VS Code version: Code 1.70.2 (e4503b3, 2022-08-16T05:35:13.448Z) OS version: Windows_NT x64 10.0.22000 Modes: Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2

System Info
A/B Experiments

Originally created by @zadjii-msft on GitHub (Jan 3, 2023). Originally filed at https://github.com/microsoft/vscode/issues/159430 > Type: Bug > > Does this issue occur when all extensions are disabled?: Yes > > * VS Code Version: 1.70.2 > * OS Version: Windows 11 > > Steps to Reproduce: > > 1. Install windows terminal extension > 2. Install Windows Terminal app. > 3. Set in your settings.json: > > ``` > "terminal.explorerKind": "external", > "terminal.external.windowsExec": "wt" > ``` > > 4. Configure in Windows Terminal to open default terminal "Ubuntu" (WSL). > 5. Go to VS Code and press `Ctrl+Shift+C` to open external terminal. Output: > ![image](https://user-images.githubusercontent.com/4467191/186530031-c31c6e74-18e8-4fb8-8036-5344308c819d.png) > > What I would expect to happen is to open like this, in the current ${workspaceDirectory}: ![image](https://user-images.githubusercontent.com/4467191/186531234-cd654392-264d-4341-9c6a-331c3655af13.png) > > Extension version: 0.7.0 VS Code version: Code 1.70.2 ([e4503b3](https://github.com/microsoft/vscode/commit/e4503b30fc78200f846c62cf8091b76ff5547662), 2022-08-16T05:35:13.448Z) OS version: Windows_NT x64 10.0.22000 Modes: Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2 > > System Info > A/B Experiments
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19166