arduino-ide icon indicating copy to clipboard operation
arduino-ide copied to clipboard

SaveAs also copies old binary builds

Open ednieuw opened this issue 10 months ago • 0 comments

Describe the problem

When a file name is saved with File SaveAs the exported compiled binary file is placed in the 'build' folder with the previous files that are copied into the new named folder. It is very confusing when the IDE1 is also used that places the .bin file in the INO source folder.

To reproduce

Compile a file and perform Export compiled binary Save the file with File SaveAs with a new name Export compiled binary Look in the 'build' folder.

Expected behavior

The Export compiled binary should have its new name used with File SaveAs in a clean 'build' folder. That is not with the previous 'build' folder contents.

  • Í would like to see the folder 'build' not in my source folder but in the Temp folder.
  • I would like to see only the .bin file in my .INO source folder like the IDE1
  • I would like that the .bin file is not copied into a new folder created with File SaveAs My source file folder should stay as clean as possible

Arduino IDE version

2.3.3 nightly 20240422

Operating system

Windows

Operating system version

W11

Additional context

No response

Issue checklist

  • [X] I searched for previous reports in the issue tracker
  • [X] I verified the problem still occurs when using the latest nightly build
  • [X] My report contains all necessary details

ednieuw avatar Apr 22 '24 13:04 ednieuw