You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
weartist You can use WorkbenchToolBar or MenuWorkbenchToolBar to get a menu that support hiding etc. However, they only support menu items, meaning those commands need to be migrated to use registerAction2
weartist You can use WorkbenchToolBar or MenuWorkbenchToolBar to get a menu that support hiding etc. However, they only support menu items, meaning those commands need to be migrated to use registerAction2
Thank you very much for your help! Fantastic, but I'm on my way right now and I'll start this work in three days, hopefully it goes well
Johannes Rieken (@jrieken)Daniel Imms (@Tyriar) I wanted to ask a simple question to clarify what needed to be done: what we wanted to do was to make each tab of multiple terminals configurable to display right, and I found that when there is only one terminal, the tab in the upper section is configurable
What needs to be modified:
Because something is delaying the change, I'm going to replace the ActionBar currently used by terminalTabsList with the WorkbenchToolBar, and adjust the current two actions to MenuItemAction
Daniel Imms (@Tyriar)Johannes Rieken (@jrieken) I'm sorry, I may not be able to complete this task, I'm a little confused about registerAction2 and using MenuItemAction, and I don't know how to use these two actions in the WorkbenchToolBar,I'm sorry for the time I've been delayed in this issue
Activity
[-]Make terminal tab action configurable[/-][+]Make terminal tab toolbar configurable[/+]Kalmaegi commentedon Sep 27, 2023
Daniel Imms (@Tyriar) I'd be willing to fix this if I could
ShiviTripathi13 commentedon Sep 27, 2023
Daniel Imms (@Tyriar) If the issue still open, please assign it to me.
Tyriar commentedon Sep 27, 2023
weartist sure you can give it a shot, this is where the actions are added to the bar:
vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.ts
Lines 480 to 497 in dab4942
I'm guessing what needs to happen is integrating the tab renderer to use the menu system which will add support for toggling the items.
Kalmaegi commentedon Sep 28, 2023
Thanks for the tip~ I'll give it a try
jrieken commentedon Sep 28, 2023
weartist You can use WorkbenchToolBar or MenuWorkbenchToolBar to get a menu that support hiding etc. However, they only support menu items, meaning those commands need to be migrated to use
registerAction2Kalmaegi commentedon Oct 3, 2023
Thank you very much for your help! Fantastic, but I'm on my way right now and I'll start this work in three days, hopefully it goes well
Kalmaegi commentedon Oct 3, 2023
Johannes Rieken (@jrieken) Daniel Imms (@Tyriar) I wanted to ask a simple question to clarify what needed to be done: what we wanted to do was to make each tab of multiple terminals configurable to display right, and I found that when there is only one terminal, the tab in the upper section is configurable

What needs to be modified:
Already supported, does not need to be modified:

Kalmaegi commentedon Oct 9, 2023
Sorry I'm late, start working on this today
Kalmaegi commentedon Oct 10, 2023
Briefly added a menu bar, I'll submit a PR later:

Kalmaegi commentedon Oct 26, 2023
Because something is delaying the change, I'm going to replace the
ActionBarcurrently used byterminalTabsListwith theWorkbenchToolBar, and adjust the current twoactionstoMenuItemActionKalmaegi commentedon Nov 8, 2023
Daniel Imms (@Tyriar) Johannes Rieken (@jrieken) I'm sorry, I may not be able to complete this task, I'm a little confused about registerAction2 and using MenuItemAction, and I don't know how to use these two actions in the WorkbenchToolBar,I'm sorry for the time I've been delayed in this issue
DatN99 commentedon May 5, 2024
weartist If you're no longer working on this, I'd love to give this a shot! I'm a first time contributor, but I'm hoping I can tackle this issue
Tyriar commentedon Sep 23, 2024
For future contributors, the search view does what we want here so that will be a good reference: