GrepConsole icon indicating copy to clipboard operation
GrepConsole copied to clipboard

Filter is not refreshed when I click apply and ok (+partial workaround)

Open Arunachala1 opened this issue 11 months ago • 1 comments

I set up filtering, clicked Apply, then OK— and no filtering was done! :(((( I thought the plugin was broken and was about to trash it... Then, after a frustrating hour of fiddling, I clicked on another JUnit test in the debug console, and suddenly filtering worked! When I switched back to the first test, it worked there too.

So, at least now I have a workaround.

By the way, highlighting updates immediately when I click Apply, so I was really convinced that filtering was just broken. I wasted an hour trying to figure it out... 😩

That said, I can live with this workaround since I can just toggle between two tests. And actually, I just sent you $5 because this plugin is super useful for debugging my Spring JUnit tests. Hopefully, half of those 3M downloads will send you $5 too, and you'll be a millionaire—because you saved me a ton of time reading logs! 🚀🙏

But please fix the filtering refresh issue!

  • Ideally, filtering should apply immediately when clicking Apply.
  • OR at least add big, bold, red text saying that you need to toggle between JUnit tests for the changes to take effect (and I have no idea how to refresh in a normal console).
  • Restarting a whole test just to refresh filtering is a pain, especially for long JUnit tests. But simply clicking back and forth is fine—once you know the trick.

Anyway, thanks a lot for the awesome plugin! 🙌 And please address somehow the issue. Even big red text would be big help... 🙏

Arunachala1 avatar Mar 20 '25 16:03 Arunachala1

Hello, sorry to hear that. I will take a look, the test console is quite special, in a bad way...

Thanks you for the donation! Every bit helps. By my calculations, I've had around 150 sponsors in total. And 1M+ of downloads of the latest version only for all plugins in total. So the money is not quite there yet. :-D

krasa avatar Mar 20 '25 17:03 krasa

Apply cannot reload existing text, because there is no original text, only what is in the console. Unit tests are special, because the content is stored somewhere and is reloaded on tab switch, afaik.

krasa avatar Aug 05 '25 21:08 krasa