Skip to content

Auto import always top of file #22569

@curtispuetz

Description

@curtispuetz

Sometimes in VSCode the rust-analyzer puts my auto-import in the function I am working in rather than at the top of the file. I always want them to be at the top of the file, and I don't believe there is a rust-analyzer setting to configure this, as I played with the available import settings.

So, the desired feature is: auto-import always to the top of file

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-configconfigurationC-featureCategory: feature request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions