Recommend a vscode plug-in that can update file references automatically

Business background

  • in vscode left explorer
  • changed the name of a file
  • if there is a reference to this file in the code
  • also has to modify all the referenced code. It"s too much trouble
  • in webstorm , the directory or file name is modified, and all references are automatically updated

question

  • is there such a plug-in in vscode ?

such as

  • has a index.js file
  • I have references to it in main.js
import a from "index.js`
  • now I modify index.js to good.js
  • I hope that in main.js , it will also change automatically
import a from "good.js`
Jul.11,2022

when the import path is moved or renamed, it is automatically updated:

"javascript.updateImportsOnFileMove.enabled": "always",
Menu