Skip to content

Request: move modules in project structure refactoring #8872

Description

@redain

Will be good to see a following feature:
When I'm moving a folder with one module to another place (for example to a directory of a higher level - like from src/ui/views/ to src/ui/) using drag-and-drop in VS Code file explorer it should automatically: delete this mod from mods declared in old place, add this mod to a mod where selected mod was dropped, update imports - both in moved mod (for ex. when super::* imports become invalid because mod parent changed) and in all other files where this mod was used.
This feature for me seems similar to currently presented ability to rename modules - which automatically renames all imports of renamed mod and this mod declaration in structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-hardS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Fields

    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