Moving files into new folders in an Angular app

Viewed 172

From the beginning, I should have neatly placed all my components in a components folder, just like my services and models and directives, but I didn't...

In a large project, is there a way of simply transferring all the scattered components and services and models and directives into such directories without having to resolve all the ensuing issues, such as changing ./componentName to ../components/componentName, or do I have to deal with the move/relocation manually one by one?

I thought if you move a file/folder in VSCode (by dragging) the imports would be adjusted automatically, but they don't.

I also have the Angular Essentials extension installed, but that doesn't do that either.

Is there a way to deal with move import adjustments automatically?

0 Answers
Related