microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.42k stars 29.34k forks source link

Add a TabBarItem object #33091

Closed fabiospampinato closed 7 years ago

fabiospampinato commented 7 years ago

There's already a StatusBarItem object, for adding items to the StatusBar, an analogous class for adding items to the TabBar would be awesome.

tabbar

Don't you think?

bpasero commented 7 years ago

@fabiospampinato that place is open for actions that can have icons or text. The API is different from the status bar API in that you have to register a command and put it into the location editor/title. See our git extension for examples https://github.com/Microsoft/vscode/blob/master/extensions/git/package.json#L673

fabiospampinato commented 7 years ago

Yes, it's possible to add buttons there, but not programmatically like it's possible with statusbar buttons, that's basically what my request is about.

Is there any reason for not including this feature?