如何过滤Chrome的devtool控制台历史记录 [英] How to filter chrome's devtool console history

查看:250
本文介绍了如何过滤Chrome的devtool控制台历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在bash中,我使用history-search-forward和history-search-backward功能允许我输入要运行的命令的几个字符,然后按向上箭头在历史记录中循环浏览匹配那些字符.

In bash, I use the history-search-forward and history-search-backward feature to allow me to type in a few characters of the command I want to run, then press up arrow to cycle through items in my history that match those characters.

我想要chrome devtool控制台有同样的东西.我经常使用向上箭头浏览历史记录,但似乎没有办法对其进行过滤.有人有聪明的解决方案吗?

I want the same thing for the chrome devtool console. I often use up arrow to cycle through my history, but there doesn't seem to be a way to filter it. Does anybody have a clever solution?

[请注意,在最近的Chrome版本中,命令历史记录匹配已大大改善.这不完全是我想要的,但是还不错.]

[Just a note that command history matching has improved a lot in recent versions of Chrome. It's not exactly how I would like it, but it's pretty good.]

推荐答案

Chrome开发者工具中没有反向搜索功能.我已经记录了反向搜索功能的请求.请给相同的星标.

Reverse search feature is not there in Chrome developer tools. I have logged a request for the reverse search feature. Please star the same.

http://code.google.com/p/chromium/issues/detail?id = 171386

我使用代码段( Chrome开发者工具:什么是代码段支持?)来跟踪我的所有命令.

I use Snippets (Chrome Developer Tools: What is Snippets Support?) for keeping track of all my commands.

这篇关于如何过滤Chrome的devtool控制台历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆