Newer versions not saving files!
-
The last few builds of Notepad++ (I’m running the 64-bit version) are refusing to save files properly. The Save command in the menu is enabled, I can click it, it doesn’t give any errors, and the Save menu option gets disabled, so it looks like it saved, but when I open the file in another editor or upload it to my server, my changes just aren’t there.
This has been very problematic. I use Notepad++ to write code (PHP, HTML, JS, CSS, etc.) and while debugging I’ve lost literal hours of time trying to track down why a new change (or even a new file) isn’t working. As it turns out, it’s because Notepad++ isn’t saving my files!
The issue isn’t always 100% consistent, and it is far more common with brand-new files than when editing existing files.
Has anyone else experienced this?
I’ve checked file and folder permissions, made sure the files aren’t open in any other application, etc. And I can edit the files just fine in other editors. It has mostly been a problem on my desktop computer, but I’ve seen it happen on my laptop as well.
Ideas?
Steps to reproduce:
- Open Notepad++.
- Select File menu, New command
- Enter text into the file.
- Click File / Save As, give the file a name. Name and extension don’t seem to matter.
- Locate the file in Windows Explorer, open using Notepad.
- The file is there, but empty.
-
@doubledeej said in Newer versions not saving files!:
Has anyone else experienced this?
Not me and if this would be a general problem I would expect much,
much, much more reports as this is something which most users would need.
What about using tools like procmon to see what happens once you save your documents? -
I was a bit mistaken in my original assessment of the problem. Here are the exact steps, and this is 100% repeatable every single time. It’s still a problem.
- Open Notepad++
- Select File / New
- Enter text into the file.
- Click File / Save As, give it a name, and save it.
- Make some additional changes in the file.
- The Save command is DISABLED under the File menu, so there’s no way to save the updated version of the file.
It’s definitely broken.
-
@doubledeej said in Newer versions not saving files!:
I was a bit mistaken in my original assessment of the problem. Here are the exact steps, and this is 100% repeatable every single time. It’s still a problem.
It’s definitely broken.Following those steps, it’s definitely not broken for me. Since that’s a standard workflow, it’s probably not broken for the vast majority of people, since this is the first we’ve heard of it here.
Now that you know it can work, you will have to investigate what’s different about your situation.
Please take note of the ideas in this FAQ, which will help you give us more information to help with your problem.
-
Well, I reinstalled N++ v7.8.4 without changing anything else and now it’s working. Must have been something corrupted on my system. Not sure what it could have been – it’s a bone stock installation on a very new system – no plugins, and the only customizations were changing the default font to Consolas and turning on visible White Space and Tabs.
This has been driving me crazy for weeks. I’m glad I can save files again. I’ve lost many hours of development time over the last two months trying to track down why my code changes didn’t seem to be doing anything. Edit, save, test – no change. More edits, save, test – still no change. Completely bonkers.
-
The problem has returned, dangit! Even on the latest version.
-
Unfortunately for you, you still haven’t told us any more about your situation, or given us a way in which we can try to replicate your problem. As such, we cannot give you any more help, because you have asked a question without giving enough information for us to help you
-
I had the same issue on latest version today. Turned out I had to run Notepad++ in Admin mode to be allowed to save the files. I was using “Find and replace in files” - it kept saying it made all the replacements I expected except it didn’t. Restarting npp as Admin solved the problem.
I hope this will help others with the same problem.