cheptsov / AdvancedExpressionFolding

https://plugins.jetbrains.com/plugin/9320?pr=idea
141 stars 29 forks source link

It seems broken on IDEA 2019.3 EAP built on October 9, 2019 #135

Closed m-titov closed 4 years ago

m-titov commented 4 years ago

IntelliJ IDEA 2019.3 EAP (Ultimate Edition) Build #IU-193.4386.10, built on October 9, 2019 IntelliJ IDEA EAP User

var gg = "gg";

ImmutableSet.of("a", "b", "c").stream()
     .filter(c -> c.getBytes() == gg.getBytes())
     .findFirst()
     .orElseThrow(() -> new IllegalArgumentException("Error " + 10 + " . Incorrect value"));

Result with enabled Getters and Setters folding image

schrek1 commented 4 years ago

It looks like won't be fixed :/

m-titov commented 4 years ago

why? It's unreadable. :'(

schrek1 commented 4 years ago

This repo looks that it isn't maintained already by author . I saw that some people asked IntelliJ team for fix, but they don't want to resolve it becouse it is private project outside IntelliJ. It is sad because it is amazing plugin, which should be native part of Intellij, it shouldn't ends only as neglected plugin..

schrek1 commented 4 years ago

https://twitter.com/andrey_cheptsov/status/1197823950883045376

cheptsov commented 4 years ago

Hello folks. The issue is fixed now. I'm very sorry to provide the fix so late. The thing is the plugin was done by me in my free time which I don't seem to have a lot recently. In case somebody else would like to help with the plugin, please let me know.

ciscorucinski commented 4 years ago

I would love to try to fork it and do some of my own, but wrapping my head around the current codebase takes a lot. Is there some way to have a write up that summarizes how to work with and around your code. How to think about folding and such?