ethereum / remix-desktop

Remix IDE desktop
1.02k stars 264 forks source link

Remix overwrites existing files when opening another local folder #149

Open mushketyk opened 2 years ago

mushketyk commented 2 years ago

Steps to Reproduce

  1. Open Remix desktop.
  2. Click "Connect to Localhost"
  3. Open a folder with a git repository (File -> Open Folder)
  4. Select workspace "localhost"
  5. Open a file by double-clicking on it (a file should be opened in a new tab)
  6. Open a different local folder
  7. At this stage, Remix silently writes the content of an opened file to the new current local folder.

I've tried this with a single open file, and it either creates a new file or overwrites an existing file if a file with this name exists in a new folder. It might also exhibit the same behavior with multiple files.

Software versions

Remix: Version 1.3.4 (1.3.4.825) macOS: 12.0.1 (21A559) Apple M1 Max