VS Code tips — Automatically update import paths when moving files in JavaScript and TypeScript

Published: 07 July 2020
on channel: Code 2020
21,921
75

Today's VS Code tip: update imports for JavaScript and TypeScript

When you rename or move a JavaScript or TypeScript file, VS Code will prompt to update update all imports of that file.

Set `"javascript.updateImportsOnFileMove.enabled": "always"` to automatically update imports without a prompt.


On this page of the site you can watch the video online VS Code tips — Automatically update import paths when moving files in JavaScript and TypeScript with a duration of hours minute second in good quality, which was uploaded by the user Code 2020 07 July 2020, share the link with friends and acquaintances, this video has already been watched 21,921 times on youtube and it was liked by 75 viewers. Enjoy your viewing!