Reputation: 147
On my vscode extension, when running a command, I would like to switch to my contributed activity bar
It's there a vscode api for perfoming this?
Thanks in advance
Upvotes: 1
Views: 191
Reputation: 28838
when you create a View VSC creates for you a command that gives the View the focus.
Execute this command: viewName.focus
Upvotes: 2