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.
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.