krasa / GrepConsole

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

Grep console not updating #120

Closed SirWellington closed 6 years ago

SirWellington commented 6 years ago

I have been using the plugin for years. I have noticed that when using AppCode, the grep console does not automatically update results from the source console. I have to manually hit "Reload" for it to update.

This has only been happening recently.

Any suggestions?

krasa commented 6 years ago

Well, if you could, then debugging of the plugin is probably the only way to find out what is happening. Maybe it is using some other API to add text to the console, which does not go through filters, or there is some other input filter which is used instead. (https://github.com/JetBrains/intellij-community/blob/master/platform/lang-impl/src/com/intellij/execution/impl/ConsoleViewImpl.java#L563).

I do not have Mac, so I cannot help. The other alternative is to ask JetBrains for help.

SirWellington commented 6 years ago

Thank you @krasa – let me take a look, as this is starting to bug me.

SirWellington commented 6 years ago

@krasa Can you please show me how to do debug this from App Code?

krasa commented 6 years ago

Not sure if it will work:

I just noticed that I did this, maybe it has something to do with it: https://github.com/krasa/GrepConsole/commit/a520b7b53deab6a29b2562e018c41faf604ba42e Myabe you could just try an old plugin version?

SirWellington commented 6 years ago

Tried old version @krasa . Also tried completely uninstalling, removing all plugins, clearing caches, and still same issue.

Tried versions going back to 7.2.162.000.0

SirWellington commented 6 years ago

It's working now! I'm not sure what I did, but I tried deleting the .idea folder, which included GrepConsole configuration. Perhaps that did something.

krasa commented 6 years ago

that's strange, let me know if it happens again