krasa / GrepConsole

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

Entering search terms does not update filtered result immediately #271

Closed rillig closed 10 months ago

rillig commented 1 year ago

Describe the bug As a new user of GrepConsole, I played around with the Grep view of the console and found that it doesn't feel like the rest of the IDE.

To Reproduce Steps to reproduce the behavior:

  1. Run a program, to get a console view.
  2. From the context menu of the console view, select 'Grep'.
  3. Type a few characters in the search field.
  4. Toggle the search options.
  5. Close the Grep view and open another one.

image

Expected behavior

Environment : CLion 2023.2 EAP 2

rillig commented 10 months ago

While pressing Enter is more intuitive than pressing Alt+X twice, it's not quite what I meant. I meant that with every key press, the search result should update. And if the search result is the same as before, nothing should flicker.

The two other issues that I had reported now work nicely and make the Grep Console feel more like an integral part of IntelliJ.

krasa commented 10 months ago

You can enable it by ctrl+click on the reload button. Maybe I could enable it by default, I did not want to cause performance problems... Another problem is that garbage would be saved to history on every keypress.