krasa / GrepConsole

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7125
Apache License 2.0
438 stars 57 forks source link

Grep Console no longer works on Android Studio Flamingo's New LogCat? #267

Open auval opened 1 year ago

auval commented 1 year ago

Describe the bug Been using this awesome plugin for years. In Android Studio Flamingo, Google changed LogCat with improved formatting. And GrepConsole no longer highlights anything.

To Reproduce Steps to reproduce the behavior:

  1. Install Android Studio Flamingo | 2022.2.1 Patch 1
  2. install Grep Console
  3. LogCat doesn't have GrepConsole context menu
  4. ctrl-shift-A - search GrepConsole to open its settings - looks ok
  5. LogCat doesn't highlight anything

Note: when disabling the new LogCat - GrepConsole works!

Expected behavior Should work as in older versions

Environment :

auval commented 1 year ago

@krasa - I've disabled the new LogCat for now. I prefer the old LogCat with Grep Console over the new one, without. But the default installation is with the new LogCat, so it will no longer work for the vast majority of users.

krasa commented 1 year ago

They made a new custom implementation of the console com.android.tools.idea.logcat.LogcatMainPanel. Everything seems to be hard-coded, even the context menu, without any way to extend it.

auval commented 1 year ago

That's very unfortunate. Please don't take the plugin down for Android Studio, I love it and will be very sad if it won't be available for download. However, you can add a note on the installation page that the plugin won't work on the new LogCat, but it will work if the new LogCat is disabled.

krasa commented 1 year ago

Sure. But it cannot be disabled in Android Studio Hedgehog | 2023.1.1 Canary 3.

auval commented 1 year ago

Now in Giraffe version - it's no longer possible to disable the new LogCat, so impossible to use the beloved Grep Console... :(