IntelliJ 9 和 Android - 过滤 LogCat

发布于 2024-08-31 12:29:26 字数 386 浏览 6 评论 0原文

在厌倦了 Eclipse 之后,我将 IDE 切换到了 IntelliJ,并且到目前为止还没有回头(当然只使用了一天左右)。我从未使用过 ADT 拖放布局编辑,更喜欢手动或在 DroidDraw 中编写 XML 布局,因此这从来都不是问题。

然而,我确实怀念的一件事是能够根据我使用的标签过滤 LogCat 显示。我发现您可以将搜索查询放入框中,其作用类似于过滤器,但无法将其放入自己的选项卡中,并且在该选项卡和完整 LogCat 视图之间来回滑动也是一种痛苦。

搜索还包括某种类型的下拉菜单,我希望它能由我搜索的内容填充,但我根本无法让它发挥作用,它总是空白的。我搜索了文档,但找不到任何东西。

有谁知道我如何使用这个搜索框来充当多个过滤器选择,或者如果我遗漏了某些内容而 IntelliJ 已经包含了这个?

Having got fed up with Eclipse I switched my IDE over to IntelliJ and so far have not looked back (Granted only been using it for a day or so). I never used ADT drag and drop layout editing either preferring to code my XML layouts by hand or in DroidDraw, so this was never a problem.

However, one thing I do miss is the ability to filter out the LogCat display depending on the Tag I am using. I've found that you can put a Search Query into the box and that acts like a filter, but there's no way to get it into it's own tab and it's also a pain flicking back and forth between that and the full LogCat view.

The search also includes some type of drop down and I was hoping this would be filled in by what ever I searched for, but I can not get it to function at all, it's always blank. I've searched through the documentation and can not find anything.

Does anyone know how I can use this search box to act like a multiple filter choice, or if I am missing something and IntelliJ already includes this ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

甜扑 2024-09-07 12:29:27

我也一直在寻找解决方案 - 非常烦人!但是,如果您想看到此问题得到解决,则需要观看和/或投票:http: //youtrack.jetbrains.net/issue/IDEA-65949

I've been looking for a solution for this as well - quite annoying! However, this is the bug to watch and/or vote on if you want to see this addressed: http://youtrack.jetbrains.net/issue/IDEA-65949

梦旅人picnic 2024-09-07 12:29:27

我意识到这并不是您正在寻找的答案,但作为一种快速解决方法,您可以启动命令 shell 运行以下命令。

$ adb logcat | grep YOUR_TAG

I realise that this is not quite the answer you are looking for but as a quick workaround you could fire up a command shell run the following.

$ adb logcat | grep YOUR_TAG
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文