Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "Extract sources" action skips inner classes #186

Open
JanecekPetr opened this issue Jul 6, 2024 · 2 comments
Open

The "Extract sources" action skips inner classes #186

JanecekPetr opened this issue Jul 6, 2024 · 2 comments

Comments

@JanecekPetr
Copy link

See the discussion in the "original" ecd: ecd-plugin#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
Copy link
Owner

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
Copy link
Author

JanecekPetr commented Jul 9, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants