• Login
Community
  • Login

NPP Sessions

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
6 Posts 4 Posters 1.8k 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.
  • M
    mikeguyre
    last edited by Sep 25, 2018, 3:55 PM

    Notepad++ Sessions
    Any thoughts on adding “Previous Sessions” to NPP? That way we wouldn’t have to traverse the file system every time we want to open a previous session.

    Thanks!

    1 Reply Last reply Reply Quote 0
    • D
      dinkumoil
      last edited by Sep 25, 2018, 4:06 PM

      What’s about menu File -> Save Session... respectively menu File -> Load Session...?

      Or even menu Settings -> Preferences... -> Backup -> Session snapshot and periodic backup -> Remember current session for next launch?

      M 1 Reply Last reply Oct 3, 2018, 4:05 PM Reply Quote 3
      • J
        Jim Dailey
        last edited by Sep 26, 2018, 2:58 PM

        @mikeguyre You can try out the session manager plug-in. One of its features is “Load previous session” so you can switch between 2 sessions very quickly.

        1 Reply Last reply Reply Quote 2
        • M
          mikeguyre @dinkumoil
          last edited by Oct 3, 2018, 4:05 PM

          @dinkumoil The File open dialog for Load Session defaults to the folder of the last file you had opened so you have to navigate to find the session file. I use multiple sessions depending on what I am working on so your second suggestion wouldn’t work for me.

          S 1 Reply Last reply Oct 3, 2018, 5:26 PM Reply Quote 1
          • J
            Jim Dailey
            last edited by Oct 3, 2018, 4:16 PM

            @mikeguyre

            If you use the session manager plug-in, then you don’t ever use Load Session or Save Session in NPP’s File menu. You use the plug-in’s commands. I put some of them in my context menu, so that I can right-click and choose Load Previous Session as one of my choices:

                <Item PluginEntryName="Session Manager" PluginCommandItemName="Sessions..." ItemNameAs="Session Dialog"/>
                <Item PluginEntryName="Session Manager" PluginCommandItemName="Save current" ItemNameAs="Save Session"/>
                <Item PluginEntryName="Session Manager" PluginCommandItemName="Load previous" ItemNameAs="Load Previous Session"/>
            
            1 Reply Last reply Reply Quote 3
            • S
              Scott Sumner @mikeguyre
              last edited by Oct 3, 2018, 5:26 PM

              @mikeguyre said:

              The File open dialog for Load Session defaults to the folder of the last file you had opened so you have to navigate to find the session file.

              Yes, this is annoying, but if you keep all of your session config files in one folder you can put a link to that folder in your Windows Favorites so that it is only a few extra navigation clicks away.

              Jim’s solution sounds better…try it.

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