Recaf icon indicating copy to clipboard operation
Recaf copied to clipboard

Ability to open directory

Open illuminator3 opened this issue 4 years ago • 4 comments

Ability to open directory

There should be a feature that allows you to open a normal directory which contains (nested) .class files

illuminator3 avatar May 18 '21 18:05 illuminator3

There is logic to support it, just the UI doesn't tie in to it yet due to some ugly edge case handling that'd have to be made. Shouldn't be that hard to add though.

Col-E avatar May 18 '21 19:05 Col-E

I'll add this in the next release. Drag dropping a directory works on my local changes, but for the File > Open menu, that's a file picker and won't take directories. But most of the time people just drag drop anyways so its not too bad of an issue ¯\_(ツ)_/¯

Col-E avatar May 20 '21 06:05 Col-E

Maybe add a File -> Open Directory option which uses a DirectoryChooser

illuminator3 avatar May 20 '21 10:05 illuminator3

Could do that, but then it'd make sense to also supply a File -> Save Directory. Ideally there should be some smart handling to be able to do both from one menu option to reduce clutter/confusion.

Col-E avatar May 22 '21 19:05 Col-E