Community
    • Login

    Tabs Closing after exit

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 3 Posters 917 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.
    • TheLegendaryGrimT
      TheLegendaryGrim
      last edited by

      So I am encountering a problem where, when I sometimes exit notepad++, the opened tabs b76ba754-313a-42f3-91bb-fe4dc06781fc-image.png
      are exited out.

      I’m using following extensions
      8c8c0809-84e9-4dca-8541-1afbc4e49766-image.png

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @TheLegendaryGrim
        last edited by

        @TheLegendaryGrim

        Likely the problem is that you have Notepad++ backup versions of files open into tabs. You should never do this, as it makes no real sense to edit (or even view using N++ itself) these files.

        TheLegendaryGrimT 1 Reply Last reply Reply Quote 1
        • TheLegendaryGrimT
          TheLegendaryGrim @Alan Kilborn
          last edited by

          @Alan-Kilborn From what I experienced, there are times where I lose all my drafts and so have to rely on opening/using the backups from the auto save extension. Unless of course, an alternative is available. All I want is to ensure that all my drafts and opened tabs stay as is, even after updating or some problem occurs.

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

            @TheLegendaryGrim said in Tabs Closing after exit:

            From what I experienced, there are times where I lose all my drafts and so have to rely on opening/using the backups from the auto save extension. Unless of course, an alternative is available.

            Right. Once you go through one of “those times” once, and open that backup, and you realize what a close shave Notepad++ just saved you from, and how dangerous you were being by not saving files in a known location, it is hoped that you are wise enough to save the files and to give the files a meaningful name in a meaningful location on your file storage device, and to learn to save your files more often, to protect yourself against the time when Windows OS will prevent Notepad++ from properly saving the periodic-backup because the OS messes up. Once you have saved those files with real names in real locations, the session-snapshot/periodic-backup will then work on those named files instead of “new #” files (or worse, “new #@yyyy-mm-dd_hhmmss” files), trying to again protect you from your choice to never save files (which is a dangerous choice if you care about the contents of your text files).

            At this point, you would be highly recommended to read our FAQ about periodic backups vs automatic saving, to make sure you really understand all the issues and risks involved, so that you can set up a backup-and-autosave strategy that works for you, rather than one that you just think is protecting you when it’s not (or not protecting you as much as you think).

            Good luck.

            TheLegendaryGrimT 1 Reply Last reply Reply Quote 2
            • TheLegendaryGrimT
              TheLegendaryGrim @PeterJones
              last edited by

              @PeterJones Thank you so much

              Alan KilbornA 1 Reply Last reply Reply Quote 0
              • Alan KilbornA
                Alan Kilborn @TheLegendaryGrim
                last edited by

                I really don’t know that we’ve had to explain before how to recover data from the special backup files that Notepad++ creates.

                The WORST way is what the OP has done above – opening and continuing to edit a “new 2@yyyy-mm-dd_hhmmss” file directly.

                Another bad way to do it would be to create a new “new 2” tab and the open “new 2@yyyy-mm-dd_hhmmss” briefly, only long enough to copy its data out and paste into the “new 2” tab, and continuing to work on that “file”.

                The best way, as Peter hints, is to create a new tab and paste the data there, then IMMEDIATELY save it as a hard-named file in the file system, i.e., don’t let it sit there as “new 2” again (opening yourself up to the original problem recurring).

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