VSCode lost all changes made to a file
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Type: Bug
VSCode lost all changes I made to a file. It started when pasting plain text produced a loading icon.
VS Code version: Code 1.138.0 (7debcd0e2acdea1c52de81bf9ee1620444407dda, 2026-09-15T07:24:32Z)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
|Item|Value|
|---|---|
|CPUs|13th Gen Intel(R) Core(TM) i7-13700HX (24 x 2304)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x28b8 [NVIDIA RTX 2000 Ada Generation Laptop GPU], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.9658 *ACTIVE*
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9278
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|63.77GB (43.24GB free)|
|Process Argv|--crash-reporter-id 4fc14523-54ea-4b06-a5f9-5c14edb8902d|
|Screen Reader|no|
|VM|0%|
Extensions (37)
Name|Identifier|Author|Version
---|---|---|---
Docker DX|docker.docker|docker|0.18.0
EditorConfig|editorconfig.editorconfig|EditorConfig|0.18.2
HashiCorp Terraform|hashicorp.terraform|hashicorp|2.40.0
Azure Pipelines|ms-azure-devops.azure-pipelines|ms-azure-devops|1.261.1
Azure Load Testing|ms-azure-load-testing.microsoft-testing|ms-azure-load-testing|0.2.0
Azure Developer CLI|ms-azuretools.azure-dev|ms-azuretools|0.10.0
GitHub Copilot for Azure|ms-azuretools.vscode-azure-github-copilot|ms-azuretools|1.0.231
Azure MCP Server|ms-azuretools.vscode-azure-mcp-server|ms-azuretools|2.0.46
Azure App Service|ms-azuretools.vscode-azureappservice|ms-azuretools|0.27.0
Azure Container Apps|ms-azuretools.vscode-azurecontainerapps|ms-azuretools|0.11.2
Azure Functions|ms-azuretools.vscode-azurefunctions|ms-azuretools|1.22.1
Azure Resources|ms-azuretools.vscode-azureresourcegroups|ms-azuretools|0.13.0
Azure Static Web Apps|ms-azuretools.vscode-azurestaticwebapps|ms-azuretools|0.13.3
Azure Storage|ms-azuretools.vscode-azurestorage|ms-azuretools|0.17.2
Azure Virtual Machines|ms-azuretools.vscode-azurevirtualmachines|ms-azuretools|0.6.11
Container Tools|ms-azuretools.vscode-containers|ms-azuretools|2.5.1
Azure Cosmos DB|ms-azuretools.vscode-cosmosdb|ms-azuretools|0.36.2
Docker|ms-azuretools.vscode-docker|ms-azuretools|2.0.0
C# Dev Kit|ms-dotnettools.csdevkit|ms-dotnettools|3.40.204
C#|ms-dotnettools.csharp|ms-dotnettools|2.160.4
.NET Install Tool|ms-dotnettools.vscode-dotnet-runtime|ms-dotnettools|3.1.0
Microsoft Edge Tools for VS Code|ms-edgedevtools.vscode-edge-devtools|ms-edgedevtools|2.1.12
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
Python|ms-python.python|ms-python|2026.4.0
Pylance|ms-python.vscode-pylance|ms-python|2026.3.1
Python Environments|ms-python.vscode-python-envs|ms-python|1.36.0
Dev Containers|ms-vscode-remote.remote-containers|ms-vscode-remote|0.469.0
Remote - SSH|ms-vscode-remote.remote-ssh|ms-vscode-remote|0.128.0
Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|ms-vscode-remote|0.87.0
WSL|ms-vscode-remote.remote-wsl|ms-vscode-remote|0.104.3
PowerShell|ms-vscode.powershell|ms-vscode|2025.4.0
Remote Explorer|ms-vscode.remote-explorer|ms-vscode|0.5.0
Azure Tools|ms-vscode.vscode-node-azure-pack|ms-vscode|1.8.2
Foundry Toolkit for VS Code|ms-windows-ai-studio.windows-ai-studio|ms-windows-ai-studio|1.6.13
Ansible|redhat.ansible|redhat|26.8.2
XML|redhat.vscode-xml|redhat|0.29.3
YAML|redhat.vscode-yaml|redhat|1.24.0
Contributor guide
Research direction
The report does not name a source file, test, or entry point. Start by reproducing the loading-icon behavior when pasting plain text in VS Code 1.138.0 on Windows, first considering the listed extensions. Done means the triggering sequence is understood and unsaved file changes are no longer lost.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100