-
-
Notifications
You must be signed in to change notification settings - Fork 7k
overwrite existing sketch not possible #6416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
why has this not been tagged as " Component: IDE / Type: Bug " meanwhile by the developers? |
I guess they sometimes want to get some things finished without being interrupted by all the issues that get reported in the meanwhile :-p I'll add the labels, and I was considering to have a look at this issue, since it might be related to some cleanups I did a while ago. |
I'm not sure yet whether this is a bug or a missing feature, though. |
thank you for looking at it! |
Ran into something similar to this today, but the behaviour does not match the OP's description. Instead, if you try to overwrite an existing .ino file, it turns that file into a folder, and saves the new file inside that folder, appending .ino to the original name. Steps to reproduce: 1). Create a new sketch and save it as "test" Expected result: "test.ino" is overwritten with the new sketch. Actual result: a new folder inside "test" called "test.ino", which contains a file "test.ino.ino". You can repeat this process as many times as you like, getting files and folders with progressively more ".ino"s. I was running Arduino 1.6.9 when I ran into this but it was still there when I updated to 1.8.5. Running Windows 7 x64, FWIW |
Hi @johnmbarrett , |
overwrite an existing sketch is not possible - :
given there is already a sketch test.ino in a folder test, e.g.
project\test\test.ino
and from the upper directory project\ I want to save a current opened sketch (perhaps named "test_2" ) now as "test" in order to overwrite the former one,
then the IDE instead creates a new subdir test inside the existing dir project\test
project\test\test
with a new file test.ino inside
project\test\test\test.ino
and the existing file
project\test\test.ino
keeps unchanged and undeleted.
That is weird, one must expect when saving a new file under the name of an existing one that simply overwriting will be possible, after the usual check-up window
"sketch file .... already exists - do you really want to overwrite?
yes - no - cancel".
(searching for "overwrite existing sketch" does not show up matching topics)
The text was updated successfully, but these errors were encountered: