Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: Version: 1.101.2 (Universal)
- OS Version: M4 mac with Sequoia 16.6
Steps to Reproduce:
I do not have a recipe to reproduce that, but basically the problem is that I use Github Copilot in agent mode with some Go project. I ask Copilot to add functionality, refactor it, maybe move file. and so on. During copilot running the actions, files will be opened in the editor, some changes will be made, sometimes files get deleted or moved. If I close the vscode after the such a session, and open it again, I often get new empty files created and opened in the editor where they were before copilot deleted or moved them from. Usually Copilot engine makes the move/delete operation using terminal comands which I need to explicitly execute by a press of a button. I tried to close all editor tabs before I close the VS Code, these would appear still. I even tried to clear VS Code History. If I delete them through VS Code File tree on the left, then they won't appear next time.
It is anoying and gives a sense of insecurity.
My VS Code version:
Version: 1.101.2 (Universal)
Commit: 2901c5a
Date: 2025-06-24T20:27:15.391Z
Electron: 35.5.1
ElectronBuildId: 11727614
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 24.6.0
Thanks