solobat / Steward

A command launcher for Chrome

Home Page:https://oksteward.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bookmarks 搜索时,是否可以同时匹配 title 和 url?

weineel opened this issue · comments

正常搜索如下图,是没有问题的:

image

输入url搜索时,找不到结果:

image

是有什么设置需要开启,还是暂时没有实现这个功能?

嗯,是不支持这功能,因为用的 Chrome 提供的 api。如果要支持的话,估计得自建缓存了。也许以后会实现。

你好,我查看了这部分的实现,想加上这个功能的,发现是使用 fuzzaldrin-plus 模糊匹配的,没有使用chrome 提供的api。

接着查看了 Chrome 有关 bookmarks search 的文档,发现 Chrome 的 api 是支持同时匹配 title 和 url 的。

还是得使用 recent api,不过我优化一下,让可以搜索 title / url。

已经发布了,请更新至最新版 v3.6.4