krasa / GrepConsole

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

Folding doesn't seem to work in Java #201

Closed chrissyast closed 2 years ago

chrissyast commented 2 years ago

Describe the bug Despite the rule I set up finding matching lines, it fails to fold the line. Background colour is shown to demonstrate successful match, but without any highlighting selected it also fails.

NB the folded line shown below was folded through IntelliJ's own UI

To Reproduce Create a rule with the 'fold' box ticked image

Expected behavior Line shown to be folded

Environment : IntelliJ IDEA 2021.2.1 (Community Edition) Build #IC-212.5080.55, built on August 24, 2021 Runtime version: 11.0.11+9-b1504.16 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 2022M Cores: 8 Non-Bundled Plugins: GrepConsole (11.10.211.6086.0) Kotlin: 212-1.5.10-release-IJ5080.55

Additional context Java console, Spring Boot app

krasa commented 2 years ago

Works fine for me, but a rerun is needed.

chrissyast commented 2 years ago

@krasa confirmed working after restart*. thanks

*folding didn't work at all until first restart of IntelliJ, but after that new rules would take effect the next time after running the console