• Login
Community
  • Login

Notepad++ dropping tabs when files are moved between directories

Scheduled Pinned Locked Moved General Discussion
tabsdirectorybackup
3 Posts 3 Posters 979 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.
  • C
    C Legge
    last edited by Aug 20, 2018, 4:38 AM

    I have my Notepad++ preferences set for backup, checking the options to remember current session for next launch, enable session snapshot and periodic backup, and simple backup. My default directory is set to follow current document.

    Recently I moved several files to different locations in my Windows 10 directory tree. When I launched Notepad++, the tabs to those documents were lost.

    Am I misunderstanding how these settings options are intended to function?

    C S 2 Replies Last reply Aug 20, 2018, 11:37 AM Reply Quote 0
    • C
      Claudia Frank @C Legge
      last edited by Aug 20, 2018, 11:37 AM

      @C-Legge

      Am I misunderstanding how these settings options are intended to function?

      Not sure what you expected - if you move files then they are, obviously, not anymore
      at the place npp was aware of. Npp has no hidden process running which constantly
      scans what the user does to update its internal list of files being in use by the user.

      It simply stores that information in an xml file called session.xml.
      Upon startup it reads this xml and opens the found files.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 4
      • S
        Scott Sumner @C Legge
        last edited by Aug 23, 2018, 12:15 PM

        @C-Legge

        Solution to your problem: Use Notepad++ to move the files instead of doing it an external way. Then Notepad++ won’t lose track of your file tabs. Easiest way: Right-click a file’s tab and choose Rename. Then navigate to the desired place in the directory tree and click Save.

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