Col-E / Recaf

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

Contextual menu for "Set as primary resource" #673

Open pedroflor opened 2 years ago

pedroflor commented 2 years ago

Hi Matt. Thanks for this super duper software. Now I feel I'm a reverser (◠﹏◠)

Would be great to have an option to "Set as primary resource" for a specific application when there are several files in the Workspace pane.

A picture is worth a thousand words.

image

Thanks again!!!

Col-E commented 2 years ago

The current workspace model is such that the primary resource is final. So allowing a replacement primary instead of just opening a new workspace with the new config would require a bit of refactorin.

Will probably make this a macro for opening a new workspace with the new primary. Changes in the primary will just be dropped, which is sensible given you're changing the targeted jar for editing anyways.