Gruntfuggly / activitusbar

A VSCode extension to save some real estate by recreating the activity bar buttons on the status bar
Other
114 stars 15 forks source link

Find in Folder doesn't switch active button to search #34

Closed sharifzadesina closed 3 years ago

sharifzadesina commented 4 years ago

To reproduce this: Inside Explorer right-click on a folder and select "Find in Folder...", you will see that it will switch to the search pane, but activitusbar will still show the Explorer as the active pane.

Gruntfuggly commented 4 years ago

Yes, unfortunately there are a few ways you can change the view without there being any way for the extension to be notified. I requested an API a long time ago to be able to see which view is active, but it never came to anything.

sharifzadesina commented 4 years ago

@Gruntfuggly how they detect it in the original activity bar?

Gruntfuggly commented 4 years ago

The original activity bar is built into the application so it has access to everything - this extension only gets to use what is available in the API.