#rename #import #imports #refactoring

bin+lib rename_imports

WIP: Learning rust by implementing an import renaming tool

2 releases

0.1.1 Feb 20, 2023
0.1.0 Jan 15, 2023

#8 in #imports

MIT/Apache

295KB
288 lines

Rename Imports

A tool to adjust imports when a file is renamed.

The goal is to be standalone (no use of LSP , syntax parser, etc.).

JavaScript (.js, .jsx, .ts, .tsx) is the first handled filetype.

TODO:

  • Handle Python (.py) renaming.
  • Handle directory renaming.
  • Multithread the process.

Dependencies

~5–13MB
~157K SLoC