Rename INO file deletes sketch and any .h files within folder #699
Labels
conclusion: invalid
Issue/PR not valid
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
If you attempt to rename the main INO file of your project and save it back to an existing folder, the folders contents are deleted.
Steps to reproduce:
Open IDE 2.0.0-rc2
Create new tab called MQQT.h
Add code etc to MQQT.h
Create new tab called WIFI.h
add code etc to WIFI.h
Save project, create new windows folder in save dialogue, use default file name "sketch_dec17a"
Everything looks normal
Raname WIFI.h tab to WIFIx.h
Sketch / Show sketch folder shows files as expected inc 4x log files
Rename sketch_dec17a.ino, select original folder, name file MAIN.ino
Contents of source folder are deleted, no longer have the MQQT.h or WIFI.h files.
Arduino IDE version
2.0.0-rc2
The text was updated successfully, but these errors were encountered: