ChromeDevTools:历史上的反向搜索

ChromeDevTools: Backward search in history

ChromeDevTools 中是否有 reverse-search-history

bash shell 有一个很棒的功能:

reverse-search-history (C-r)

Search backward starting at the current line and moving ‘up’ through the history as necessary. This is an incremental search.

来源:https://www.gnu.org/software/bash/manual/html_node/Commands-For-History.html

在 Chrome 中使用 JS 代码时拥有它会非常酷。

没有,没有。

另一个 SO post regarding this topic and there have even been some chromium devs 正在处理它。据我所知,该功能已被删除,因为它会与控制台现有的自动完成功能发生冲突。 Bob 在上面提到的 SO post 中有一个 hack,但没有官方功能。