I don't know if I can't save anything, or I can't open anything.
I'm kinda new to Arduino. I tried saving a file I was working on, but as soon as I did save as, it opened a new blank file. It saves something to a folder and when I open that file, it seems like it just opens a new file, instead of opening my saved file.
I can replicate the problem everytime. I open a new sketch. I add some text
//Test.
I save the file, the screen flashes the arduino symbol, then it opens what appears to be a new sketch. If I go to mydocuments/arduino/test then open my test file. It's just an empty new file.
Update: It for sure saves my sketches. If I open them with notepad, my whole sketch is there, but if I open it with arduino ide 2.3.6 it just opens a new sketch. (sometimes it opens RGB example, I don't know why).
Anyway. Am I doing something wrong, or should I just open it in notepad, then copy paste to a new sketch every time?
Show screen grabs of your steps. Maybe start with your settings so we can see what the Arduino base folder is. Make sure your entire path is showing starting at C: and ending at Arduino Here is mine for example (name changed)
/Users/ME/Library/CloudStorage/OneDrive-Personal/Documents/Electronics/SourceCode/Arduino
Now open the blink sample
Now save as and select a new folder under Arduino called Tests. Click Save As and name the blink sketch myBlink.ino
Let us know what happens.
Save, Save as, open are all pretty fundamental and usually work without problems.
You can hit problems if you open a built-in example like Blink, make some changes then try to save it. You need to Save as with another name like MyBlink_edited_date.
Arduino is fussy about file names, length and allowed characters.
Use Recent files to look for anything that was successfully saved.
@ptillisch did a nice note recently, last 6 weeks, on recovering sketches that have gone AWOL.