Skip to content

assist: move use statement to top level #20326

@pickx

Description

@pickx

when the cursor is placed on a use foo::bar; statement which is inside a function1 show an assist that moves it to top-level scope, and uses existing strategies to join them with other top-level use statements

Footnotes

  1. or anywhere else where such a statement is allowed, except for top-level use statements

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions