Mappings are not applied to currently open files (4.0.0-SNAPSHOT)
Describe the bug
When applying mappings, the currently open files are not remapped
To Reproduce
Steps to reproduce the behavior:
- Download any fabric minecraft mod
- Download & extract the appropriate yarn mappings for the mod
- Select a class file to open & decompile
- Apply the yarn mappings
- Currently opened class file is not remapped
Exception
N/A
Screenshots
N/A
Under the "Decompile Pane" config there is an option titled "Accelerate remapping operations" which will use update the AST rather than re-decompile the whole class after changes. In obfuscated scenarios its generally best disabled. Perhaps that could affect this a bit?
Also for reproduction, can you provide a sample that consistently demonstrates the problem?
Under the "Decompile Pane" config there is an option titled "Accelerate remapping operations" which will use update the AST rather than re-decompile the whole class after changes. In obfuscated scenarios its generally best disabled. Perhaps that could affect this a bit?
I'm using whatever the default configuration is for recaf, so unsure if I have this enabled.
For sample (although unsure if it reliable reproduces it), just use the exact same class & source jar from my other few issues.
just use the exact same class & source jar from my other few issues
If it was the same as #862 then I'd close this. If there is another sample that doesn't fall under the problem described in my reply there, please provide a copy here.
See the new Mappings > Advanced Apply window #901 (Specifically the option to ignore hierarchy)