nbauma109 / ecd

An Eclipse Plugin to integrate different Class Decompiler seamlessly into the development workflow
Eclipse Public License 1.0
3 stars 0 forks source link

The "Extract sources" action skips inner classes #186

Open JanecekPetr opened 1 month ago

JanecekPetr commented 1 month ago

See the discussion in the "original" ecd: https://github.com/ecd-plugin/ecd/issues/94

In short, when I call the "Export Source" action on a jar or a packge, I get a zip file containing all decompiled .java sources ... but without the inner classes.

If I specifically call "Export sources" on a single inner class, it works. If I select multiple class files, the inner classes are not included.

nbauma109 commented 1 month ago

I will try to look into it. Meanwhile, you can open the jar with jd-gui-duo, extract all sources and attach the sources in Eclipse.

JanecekPetr commented 1 month ago

Oh, I didn't know about jd-gui-duo, nice! What I did as a workaround was to decompile everything via the CLI version of Vineflower, then open the normal jd-gui to look at places that didn't quite work with Vineflower. Next time I'll use jd-gui-duo for sure, thank you!