Microsoft/vscode

parentTerminal doesn't always work

Open

#205,254 建立於 2024年2月15日

在 GitHub 查看
 (4 留言) (2 反應) (1 負責人)TypeScript (10,221 fork)batch import
bughelp wantedterminal-tabs

倉庫指標

Star
 (74,848 star)
PR 合併指標
 (平均合併 11小時 43分鐘) (30 天內合併 1,000 個 PR)

描述

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

  • VS Code Version: Version: 1.86.1 (system setup) Commit: 31c37ee8f63491495ac49e43b8544550fbae4533 Date: 2024-02-07T09:08:20.941Z Electron: 27.2.3 ElectronBuildId: 26495564 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.19045
  • OS Version: Edition Windows 10 Enterprise Version 22H2 Installed on ‎1/‎15/‎2021 OS build 19045.3930 Experience Windows Feature Experience Pack 1000.19053.1000.0

Steps to Reproduce:

This is precisely the same as #131594. The OP-provided code opens terminals that are separate from each other (not split). Ditto for the very similar code quoted in response (the last block). Unfortunately the OP did not follow up but I'm seeing exactly the same issue.

I've definitely seen parentTerminal work when creating two terminals at the same moment and making one the parentTerminal of the other. The option seems to be ignored if the supplied terminal was not created at the same moment, i.e. stored and used in a subsequent call.

貢獻者指南