Describe the feature you'd like
When a file is renamed or moved in Solution Explorer, the editor should automatically switch focus to the new file location or name.
Currently, if you rename or move a file:
- The original file is deleted.
- The file is copied to its new location or renamed.
- The editor remains focused on the original, now-deleted file.
This creates a frustrating issue: you might think you're editing the newly named or moved file, but you're actually still working on the deleted file. If you make changes, a new copy of the old file is unknowingly created, and your changes won't be saved to the new file. This causes confusion, slows down your workflow, and can lead to errors.
The correct behavior should be:
- The original file is deleted.
- The file is copied to its new location or renamed.
- The editor automatically closes the old file and opens the new one.
Alternatives considered
No response
Environment Information
No response