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",
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be00e2-314b3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be00e2-314b3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?