Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Last opened files not opening

    Help wanted · · · – – – · · ·
    4
    7
    149
    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.
    • Nelson Chan
      Nelson Chan last edited by

      Hi,
      I don’t know what I’ve done but when I restart Notepad++ the files/tabs that I had opened are not opened instead an older set of files/tabs are opened. How can I fix this?

      Ekopalypse Alan Kilborn 2 Replies Last reply Reply Quote 0
      • Ekopalypse
        Ekopalypse @Nelson Chan last edited by

        @Nelson-Chan

        How can I fix this?

        Hard to say without the information what exactly was done.
        Can you post your debug info, which is available from the ? menu?

        Nelson Chan 1 Reply Last reply Reply Quote 0
        • Alan Kilborn
          Alan Kilborn @Nelson Chan last edited by

          @Nelson-Chan

          Maybe you had a crash or restart in the interim? Notepad++ only saves the information on the session on successful exit, so…

          Nelson Chan 1 Reply Last reply Reply Quote 0
          • Nelson Chan
            Nelson Chan @Ekopalypse last edited by

            @Ekopalypse here you are thanks
            Notepad++ v7.8.1 (32-bit)
            Build time : Oct 27 2019 - 22:46:07
            Path : C:\Program Files\Notepad++\notepad++.exe
            Admin mode : OFF
            Local Conf mode : OFF
            OS Name : Windows 10 Enterprise (64-bit)
            OS Version : 1909
            OS Build : 18363.592
            Plugins : CodeAlignmentNpp.dll ComparePlugin.dll FingerText.dll mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll NppSnippets.dll NppTextFX.dll

            1 Reply Last reply Reply Quote 1
            • Nelson Chan
              Nelson Chan @Alan Kilborn last edited by

              @Alan-Kilborn even if I close it myself on start up it still picks up a different set of files?

              PeterJones 1 Reply Last reply Reply Quote 0
              • PeterJones
                PeterJones @Nelson Chan last edited by

                @Nelson-Chan,

                @Alan-Kilborn even if I close it myself on start up it still picks up a different set of files?

                Make sure you only have one Notepad++ instance open. Make sure Settings > Preferences > Backup enables “Remember current session for next launch”.

                Load the right set of files; open a Windows file explorer to %AppData%\Notepad++ (you can paste that into the Explorer location bar); look at the last-modified date of session.xml. Close Notepad++. Look at the last-modified date of session.xml again – it should be brand new. If you look at the contents of session.xml in windows notepad.exe, it should show the right set of files. When you open Notepad++ again (with no special command line arguments), it should open with the previous session.

                If that’s not what happened, then redo the sequence, taking screenshots along the way, and paste those screenshots in your reply (make sure there is no private/sensitive data in the screenshots) – if the image is in your clipboard, a standard paste will embed the image, or you can click the upload image button in the post edit toolbar to upload an image file from your computer:
                e653034b-dbeb-4ec9-9960-4d5a98323df3-image.png
                from
                fc84b863-ecbe-46a6-8e04-0549a20d91c2-image.png

                Nelson Chan 1 Reply Last reply Reply Quote 2
                • Nelson Chan
                  Nelson Chan @PeterJones last edited by

                  @PeterJones I checked the flag and it was already on so i clicked it off and back on and restarted NP++ and lo and behold it’s back to normal now!
                  Thanks for your help.

                  1 Reply Last reply Reply Quote 3
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors