stringham / move-ts

A Visual Studio Code plugin for updating relative imports when moving typescript files and folders in your workspace.
MIT License
52 stars 15 forks source link

Not updating path of File from TSConfig Path #24

Open rupeshtiwari opened 6 years ago

rupeshtiwari commented 6 years ago

Hi when I move files and their path is from tsconfig path then it is not getting updated. For example command.ts is file and I have reference to this file as below import {command} from @message/command Then when I move this file some where else then the path is not getting updated.

quezak commented 5 years ago

This might be already fixed -- I'm using tsconfig paths extensively, and they're updated correctly.

quezak commented 5 years ago

But, I noticed another thing: it favors the tsconfig paths over local paths, even if the latter are simpler.

Example: