krasa / GrepConsole

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

Grep filter icon grayed out in Pycharm 2019 #160

Closed vincent456 closed 4 years ago

vincent456 commented 4 years ago

Describe the bug I can't open any grep console in ta python terminal and the icon is grayed out

All I can do is access the settings of the plugin but I can't use it

Environment : PyCharm 2019.3.1 (Professional Edition) Build #PY-193.5662.61, built on December 18, 2019 Licensed

Runtime version: 11.0.5+10-b520.17 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1998M Cores: 6 Registry: Non-Bundled Plugins: GrepConsole

Trass3r commented 4 years ago

Same in CLion.

lblonk commented 4 years ago

Same for me in PyCharm 2019.3.1 (Professional Edition) on Windows

krasa commented 4 years ago

If you mean this, then it seems to be a terminal. That is not supported. image

fowlerrr commented 4 years ago

For me it looks something like this:

image

I'm still getting the highlighting (eg. for log messages) but I'm not able to actually grep the logs themselves

krasa commented 4 years ago

thanks for the screenshot!

krasa commented 4 years ago

@fowlerrr what kind of tests is that? It works for me in 2020.1 image

fowlerrr commented 4 years ago

Actually, I'm using Intellij so it might be a different issue...

IntelliJ IDEA 2019.3.4 (Community Edition) Build #IC-193.6911.18, built on March 17, 2020 Runtime version: 11.0.6+8-b520.43 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1944M Cores: 12 Registry: Non-Bundled Plugins: GrepConsole, IdeaVIM, org.jetbrains.plugins.rest, PythonCore, com.github.redfoos.logstash-intellij-plugin, name.kropp.intellij.makefile, no.tornado.tornadofx.idea, org.jetbrains.plugins.hocon, org.vayafulano.relativeLineNumbers

I'll try a quick check on 2020.1 but IIRC it didn't work well with our codebase

fowlerrr commented 4 years ago

The same happens with 2020.1:

IntelliJ IDEA 2020.1 (Community Edition) Build #IC-201.6668.121, built on April 8, 2020 Runtime version: 11.0.6+8-b765.25 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1944M Cores: 12 Non-Bundled Plugins: IdeaVIM, GrepConsole, org.jetbrains.plugins.hocon, no.tornado.tornadofx.idea, name.kropp.intellij.makefile, org.vayafulano.relativeLineNumbers

krasa commented 4 years ago

ok, tell me how to reproduce it :)

fowlerrr commented 4 years ago

Wish I could! For me it's:

It's been very consistent for probably a year. It happens with anything that's in that output window, whether the test or build logs.

I've only now been bothered enough to raise it.

Maybe it's one of the plugins I have installed? IdeaVIM?

krasa commented 4 years ago

what kind of test? what run configuration is that? can you gime me the file?

fowlerrr commented 4 years ago

Any test will exhibit this behaviour.

For example, this:

import org.junit.Test;

public class AnythingTest {

    @Test
    public void someTest() {
        assert(true);
    }
}

Here's the run configuration:

image

The only thing I can think there is that we delegate to gradle for the tests.

krasa commented 4 years ago

Well Gradle is something completely different.

Try this https://github.com/krasa/GrepConsole/releases/download/9.11.193.4697.0/GrepConsole.zip

fowlerrr commented 4 years ago

Where do they go?

krasa commented 4 years ago

drag the whole zip into the editor or image

fowlerrr commented 4 years ago

Yep. That one works. I have grep again!

krasa commented 4 years ago

Pycharm issue: https://youtrack.jetbrains.com/issue/PY-41809