microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.26k stars 8.27k forks source link

Splitting a tab should offer profiles like it used to #17684

Closed inosik closed 1 month ago

inosik commented 2 months ago

Description of the new feature/enhancement

The "Split pane" command used to have a submenu, where you could select the profile for the new pane:

WindowsTerminal_2024-08-08_15-32-52

Right now I have no idea how to create a new pane using a profile that is not the default one.

carlos-zamora commented 1 month ago

Oh no... This is another manifestation of #17294.

I'm guessing you added a plain "command": "splitPane" to your settings.json. We expose that as Split pane in the command palette.

In #16886, the key for the nested action got renamed from Split Pane... to Split pane. This accidentally caused a collision because now you have two actions with the same name! The settings model then prefers your action over the one defined in defaults.json, thus completely hiding the nested version.

I'm marking this a /dup of #17294 and reverting the ... changes in the names. That should make these come back 😊

inosik commented 1 month ago

I'm guessing you added a plain "command": "splitPane" to your settings.json

You're right, there was an action that was bound to this command. I'm not aware of ever adding it though.

However, I removed it and the submenu is back, thanks!