Recaf icon indicating copy to clipboard operation
Recaf copied to clipboard

Allow for Decompiler CLI Options

Open alexyao2015 opened this issue 5 years ago • 3 comments

Allow for Decompiler CLI Options

Fernflower has many configurable options available. Would it be possible to add command line options to the decompiler when viewing a class?

alexyao2015 avatar Oct 28 '20 03:10 alexyao2015

Yes, I haven't drafted out how I want this to look in the config UI yet. Because it should have options for all the supported decompilers, but also not totally clutter the config menu.

Col-E avatar Oct 28 '20 03:10 Col-E

There could simply be 3 text boxes, one for each decompiler, or 1 text box that is just appended to the chosen decompiler.

alexyao2015 avatar Oct 28 '20 03:10 alexyao2015

The problem with that approach is its rather unintuitive for newer users. I'd like something that's accessible to people less familiar with the tech behind the scenes. For example, the config value for decompile.showsynthetics applies to all decompilers. Recaf passes the appropriate setting to each decompiler.

For equivalent values I would like to do this approach, and for more specific ones a way to tidily show it in the same place without cluttering the config window too much.

Col-E avatar Oct 29 '20 13:10 Col-E