Is it possible to get the "selected" tabs #2658
-
VSCode lets you shift-click on a tab to select it along with the currently active tab. Is it possible to get the selected tabs from an extension? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @erusev , Based on the API documentation, it seems If this does not work, I suppose you are out of luck, and I would suggest you to open a feature request in the VS Code repo (https://github.com/microsoft/vscode/issues) so the VS Code team could take a look. Hope this helps |
Beta Was this translation helpful? Give feedback.
-
Sadly, there appears to be only 1 |
Beta Was this translation helpful? Give feedback.
Hi @erusev ,
Based on the API documentation, it seems
TabGroup
doesn’t support that, since it has anactiveTab
property, which points to a singleTab
. On the other hand, the sameTabGroup
has atabs
property, which in a array ofTab
, and eachTab
has aisActive
property. So, you could try out.If this does not work, I suppose you are out of luck, and I would suggest you to open a feature request in the VS Code repo (https://github.com/microsoft/vscode/issues) so the VS Code team could take a look.
Hope this helps