GrepConsole icon indicating copy to clipboard operation
GrepConsole copied to clipboard

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

Open auval opened this issue 1 year ago • 5 comments

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 :

  • MacBook M1
  • Android Studio Flamingo | 2022.2.1 Patch 1 - with the "new Logcat with improved formatting"

auval avatar May 14 '23 07:05 auval

@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.

auval avatar May 14 '23 10:05 auval

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.

krasa avatar May 14 '23 12:05 krasa

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.

auval avatar May 14 '23 12:05 auval

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

krasa avatar May 14 '23 12:05 krasa

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

auval avatar Aug 07 '23 15:08 auval