Community
    • Login

    Newer versions not saving files!

    Scheduled Pinned Locked Moved General Discussion
    8 Posts 4 Posters 7.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • doubledeejD
      doubledeej
      last edited by

      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:

      1. Open Notepad++.
      2. Select File menu, New command
      3. Enter text into the file.
      4. Click File / Save As, give the file a name. Name and extension don’t seem to matter.
      5. Locate the file in Windows Explorer, open using Notepad.
      6. The file is there, but empty.
      1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse
        last edited by

        @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?

        1 Reply Last reply Reply Quote 0
        • doubledeejD
          doubledeej
          last edited by

          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.

          1. Open Notepad++
          2. Select File / New
          3. Enter text into the file.
          4. Click File / Save As, give it a name, and save it.
          5. Make some additional changes in the file.
          6. 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.

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @doubledeej
            last edited by

            @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.

            1 Reply Last reply Reply Quote 2
            • doubledeejD
              doubledeej
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • doubledeejD
                doubledeej
                last edited by

                The problem has returned, dangit! Even on the latest version.

                1 Reply Last reply Reply Quote 0
                • PeterJonesP
                  PeterJones
                  last edited by

                  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

                  MichaelFruergaardPontoppidanM 1 Reply Last reply Reply Quote 1
                  • MichaelFruergaardPontoppidanM
                    MichaelFruergaardPontoppidan @PeterJones
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors