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

Is there something similar to this for a JS only project? #26

Open liberationmind opened 5 years ago

liberationmind commented 5 years ago

I have a React JS project and is there an extension that does what Move-TS does for .js and .jsx files?

csojinb commented 4 years ago

It would be nice if this extension just allowed you to optionally include .js and .jsx files. I have a mixed js/ts project, and this configurability would be very helpful for me.

tnrich commented 4 years ago

@liberationmind @csojinb I just published a forked version of this that should allow for js-only refactors -- https://marketplace.visualstudio.com/items?itemName=tnrich.move-ts-js

I think @stringham is happy to accept PRs that add a separate "Move Javascript" command if anyone feels like doing that.