microsoft / vscode-remote-repositories-github

Quickly browse, search, edit, and commit to any GitHub or Azure Repos repository directly from within Visual Studio Code.
Creative Commons Attribution 4.0 International
205 stars 105 forks source link

Error when drag & drop an existing folder #354

Open tdashworth opened 1 year ago

tdashworth commented 1 year ago

I would like to edit a private GitHub repo in either vscode.dev or github.dev. A common update I make is to replace an entire folder within a single commit.

When I drag and drop a local folder into the same directory as the existing folder, the following error occurs:

Unable to resolve nonexistent file 'vscode-vfs://github+7b2276223a312c22726566223a7b2274797065223a362c226964223a226d61696e227d7d/repo-owner/repo-name/public/example'

Screenshots: image image image

amunger commented 9 months ago

The folder is disappearing for me after trying to dragging another one in to replace it.

  1. open a repo on insiders.vscode.dev
  2. create a new folder and add a file
  3. drag in a folder with the same name from windows explorer to replace it 🐛 folder disappears

If I add the folder again, it has the contents that were there previously, but then disappears again.