renaming node_modules directory with "javascript.updateImportsOnFileMove.enabled" option set to "always" causes crash #47047
Labels
Bug
A bug in TypeScript
Domain: Refactorings
e.g. extract to constant or function, rename symbol
Help Wanted
You can do this
Milestone
TS Template added by @mjbvz
TypeScript Version: 4.5.2
Search Terms
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
When doing so VSCode attempts to update imports of many of the files inside the node_modules and if you have too many dependencies the amount of files it attempts to update is too high and causes the program to stop responding.
The worst part is that simply killing the application and starting it again doesn't necessarily fix the problem, in my case all of the updated files have opened in the editor as unsaved and persisted between closing and opening the application causing it to crash every time I opened it.
Perhaps the auto import update should never happen for any files in the node_modules, regardless of the user settings?
The text was updated successfully, but these errors were encountered: