Treestyletab: [feature request]: Tab search

Created on 6 Apr 2019  路  9Comments  路  Source: piroor/treestyletab

a way to search between open tabs would be very useful, not necessarily search through the contents of the tabs, although that would be cool, but just searching through the titles and urls of your currently opened tabs, would be amazingly useful. as the awesome bar currently is you have to disable the ability to search through history, bookmarks, and the internet at large to be able to search for tabs easily and effectively. if there was a way to add a search function to TST it would be amazing.

help wanted workaround exists

Most helpful comment

You don't really even need an add-on to do this. Just do the search in the URL bar and prefix the search with "%". This will only search your existing tabs and when you click on the result, it just takes you to that tab.

Ex: "% github" would show you all your open github tabs.

All 9 comments

wow thats cool! it adds another extension, but, it seems to work really well, and it even searches the text in the tabs aswell, holy shit thats cool. thanks man!

do you know of any way to give it a dark theme/night mode?

You don't really even need an add-on to do this. Just do the search in the URL bar and prefix the search with "%". This will only search your existing tabs and when you click on the result, it just takes you to that tab.

Ex: "% github" would show you all your open github tabs.

As @irvinm mentioned, Firefox itself has a prefixed search feature for this purpose. So I think it may be a workaround for requests like this.

On the other hand, current TST has no availability to add such a feature inside its sidebar. This is one of receding points from legacy versions of TST and Firefox. I decided to keep TST concentrated to "tree" features, so I won't add such a feature natively. Instead I'm positive to add APIs required to add extendability, so I need well-designed API plan.

You don't really even need an add-on to do this. Just do the search in the URL bar and prefix the search with "%". This will only search your existing tabs and when you click on the result, it just takes you to that tab.

Ex: "% github" would show you all your open github tabs.

i have tried that from time to time but the order is all messed up and i have to type way more than i should to get it to find the tabs i want. while that feature does indeed work, it is kind of annoying in how it works (i have almost a hundred tabs open at the moment)

@piroor given there is a workaround (albeit not perfect) ... if you do not want to add this functionality, we should close out this issue.

@stapuft The order of items in the location bar are calculated with their "frecency" and more other metadata.

I've tried Tabs2List and it provides a toolbar button to show the list of tabs with a search field (*It is hidden by default and you need to click the magnifier button to start searching. But there is an option to show the search field by default in its options page.) Tabs in its list are not indented but I think it should help you.

There are more other addons providing searchable tab list:

I've added a new section to the README: https://github.com/piroor/treestyletab/blob/master/README.md#listing-tabs-with-a-search-field If you know more helpful addons, please send a pull request me to add them.

Was this page helpful?
0 / 5 - 0 ratings