krasa / GrepConsole

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

Only match condition if previous condition has been matched #302

Open chrissyast opened 2 months ago

chrissyast commented 2 months ago

Is your feature request related to a problem? Please describe. I want to be able to set a condition which depends on another condition having been matched on a previous line. e.g.

Running tests:    // Create condition 1:   .*tests.* 
...
...
...
Process finished with exit code 0   // want to highlight this line ONLY if condition 1 was met

Describe the solution you'd like Within a group in settings, have a column "match previous" with checkboxes which when ticked would mean that subsequent conditions would only be considered a match if all previous conditions were also met

image