devonfw / ide

Tool to automate setup and update of development environment (esp. for Java projects).
Apache License 2.0
35 stars 101 forks source link

Open devonfw CMD Shell in Windows-Terminal here does not open new tab #1145

Open hohwille opened 1 year ago

hohwille commented 1 year ago

Expected behavior

As a devonfw-ide user and fan of Windows-Terminal, I want that devonfw-ide shells that I launch open as new tab if Windows-Terminal is running already so that I have all shells as tabs rather than multiple Windows of Windows-Terminal.

Actual behavior

A new Windows-Terminal window is opened in addition to my existing Windows-Terminal window that already has tabs open.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Open windows-explorer, navigate to a devonfw-ide project, select a folder like workspaces
  2. Chose Öffnen in Windows-Terminal to open that folder in a new Windows-Terminal
  3. Now go back and chose Open devonfw CMD Shell in Windows-Terminal

Related/Dependent Issues

701

692

Comments/Hints:

IMHO what we have created works fine: If you only chose context-menu options Open devonfw ... in Windows-Terminal they all open as tabs of the same Windows-Terminal window. The context-menu entry Öffnen in Windows-Terminal seems to come from Windows-Terminal itself and that one does not go well together with our own extension. However, clicking on this multiple times also opens tabs in the same Windows-Terminal instance but devonfw and microsoft use different windows.

Maybe we can somehow fix this so we share the same Windows-Terminal window that is used by the default option. If not possible, we can also close this as wontfix.

Affected version:

2023.04.001