Hristo Kolev
Hristo Kolev

Reputation: 1574

Is there a way to make WebStorm fix all imports when I move a file in TypeScript?

Every time I move a file in my TypeScript project all the imports of that file break.

Can I configure WebStorm so that it fixes them automatically when I move a file?

Upvotes: 1

Views: 471

Answers (1)

Granga
Granga

Reputation: 1662

Webstorm updates all references to the moved file if you check "Search for references" option.

enter image description here

Upvotes: 2

Related Questions