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.
    • mikeguyreM
      mikeguyre
      last edited by

      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
      • dinkumoilD
        dinkumoil
        last edited by

        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?

        mikeguyreM 1 Reply Last reply Reply Quote 3
        • Jim DaileyJ
          Jim Dailey
          last edited by

          @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
          • mikeguyreM
            mikeguyre @dinkumoil
            last edited by

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

            Scott SumnerS 1 Reply Last reply Reply Quote 1
            • Jim DaileyJ
              Jim Dailey
              last edited by

              @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
              • Scott SumnerS
                Scott Sumner @mikeguyre
                last edited by

                @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