skylot / jadx

Dex to Java decompiler
Apache License 2.0
41.52k stars 4.87k forks source link

[feature] Rename origin #2222

Open ykaridi opened 3 months ago

ykaridi commented 3 months ago

Describe your idea

Currently there is no way to tell who initiated a rename for a field/class/method node, and in particular there is no way to know if it is automatic or manual (and of course, in case it is automatic no way to tell by which plugin). I would love to see an "origin" or "reason" field added (the rename reason now is optional and also not persistent - next reload deletes it).

skylot commented 3 months ago

@ykaridi sure, I plan to force rename reason apply for a long time, I hope will manage to implement it soon. Also, this related to #1862: allow proposing and store/show several possible renames with provided sourceId/origin.