Recaf icon indicating copy to clipboard operation
Recaf copied to clipboard

Port batch decompile plugin to UI

Open Col-E opened this issue 3 years ago • 1 comments

Since many people want to use Recaf as a decompiler multi-bundle we should probably offer this as a feature in the UI module.

Maybe under File > Decompile or something.

Process:

  • Pick target decompiler
    • Current as default value, populate rest from DecompileManager
  • Optional: Filters to include/exclude classes/packages
  • Optional: Include files in addition to decompiled sources
  • Optional: Include config files to decompile code into a runnable workspace (maven/gradle project?)
    • Would map sources to src/main/java/<path> and files to src/main/resources/<path>
    • Then generate any additional config files

Things to consider:

  • Do not decompile inner classes if the decompiler will include them in the outer classes
    • Currently we do not expose decompiler-specific options in the UI, so there is no way to disable this for now. But later when we do it will be relevant.

Col-E avatar Aug 31 '22 06:08 Col-E

I would suggest to make the "runnable workspace" part as an independent issue, as this can be coupled with a maven repo resolver and gradle version checker.

Amejonah1200 avatar Sep 01 '22 12:09 Amejonah1200

Added in 4x

Col-E avatar Mar 30 '24 05:03 Col-E