microsoft / microsoft/vscode-remote-release

VSCode on Windows opens the wrong file and arbitrarily closes files when saving

Open
#11,712 2 comments 0 reactions 1 assignee View on GitHub

@lramos15 is already working on this.

Since Jun 24, 2026.

info-needed
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

I have no idea what is wrong with my install of this app, it seems like it is disregarding basic tenets of file handling.

Sometimes when I open a file in VSCode it gives me the wrong file the first time and I have to try a second time (which is always right), as if it had another file cached that it wanted to open instead.

Also, sometimes when I save a file, it closes the file automatically, like I did a Ctrl+W in addition to a Ctrl+S.

I am on newest and have done a fresh install. I have no idea why it's doing any of this. Happens on Windows only, not Mac.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.