Col-E / Recaf

The modern Java bytecode editor
https://recaf.coley.software
MIT License
6.06k stars 467 forks source link

"Include short names" filter in Mapping Generator #864

Open BaalNetbek opened 1 month ago

BaalNetbek commented 1 month ago

Include short names or Exclude long names filter in Mapping Generator

I am discovering Recaf 4 and found Mapping Generator mapping generator missing filter including just short names like those generated by Proguard obfuscation while having opposite filter.

BaalNetbek commented 1 month ago

More general way would be to add regex filter. Mabey with option to save and filters so anyone could make Include short name or any other filter they need.

Col-E commented 1 month ago

More general way would be to add regex filter.

image

The str.matches(value) is a full regex match just like String#matches and str.matchesPartially(value) will include anything that has a single match, but does not have the be a full text match.

\w{1,3} would match most proguard names based on their default dictionary of a-z

Mabey with option to save and filters

Yeah, that would be a nice to have