Skip to content

[Feature Request] Infer uses + use short name for types and modules #9

@sblackshear

Description

@sblackshear

A request that I think/hope would be pretty easy, but would make the decompiled code a lot more readable: inferring a use for each imported type + using the short name for types in argument names etc (e.g., can write f(s: String) instead of f(s: 0x1::string::String). The disassembler logic around module_aliases does something similar to this if it's helpful https://github.com/move-language/move-sui/blob/main/crates/move-disassembler/src/disassembler.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions