Add support for (i.e. preserve) comments in assembly code
Add support for (i.e. preserve) comments in assembly code
Currently, comments can be written while editing assembly code in the assembler, however, even after changes to said assembly code are saved, the comments in the assembly code are not preserved/saved.
I'd like to have the same function on decompiled code. Class file itself does not contain any comments so I guess we need to save them in workspace with something like git diff.
For what its worth, we do have class, field, and method comments.
https://github.com/user-attachments/assets/2f5286da-01c9-4fe5-b92e-1ea3353aebb4
We'll eventually want assembler comments to be persisted, but its a bit tricky to do so in a way that is secure and not abusable by third parties like our old comment persistence in 3.X.