Files › Refactoring: Auto Save
The files.refactoring.autoSave
setting makes VS Code automatically save after refactorings that go across files, such as renames.
This settings is enabled by default. When disabled, VS Code will instead open all changed files as unsaved editors that you can review.