microsoft / microsoft/vscode-remote-release
Make WSL extension in VS Code remove older folders from vscode-remote-wsl
@aeschli is already working on this.
Since Jun 21, 2026.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
I notice that when I navigate to the vscode-remote-wsl folder and double-click either insider or stable, I see a lot of older folders that don't tend to be automatically deleted after updating VS Code to a later version. I'd like VS Code to remove older folders automatically and create new ones automatically after VS Code gets updated to a later version and if a WSL extension has been installed, please.
Screenshot enclosed:
Below is another example of when VS Code should be updated to a later version and automatically remove an older folder before creating a newer folder:
Normally, the vscode-remote-wsl folder is located in C:\Users\username.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.