Community
    • Login

    Basic question about Notepad++ sessions

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 4.2k Views 3 Watching
    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ário KliemannM Offline
      Mário Kliemann
      last edited by

      I have a session.npp file placed inside every one of my projects. When I double click one of these session files, all the files included in that session (including bookmarks, etc) will open in the editor. In other words, I have a different session for each of my projects - that’s trivial. However, I want these session files to be automatically updated every time I modify/save one of it’s files (because to manually save the session every time is annoying). And the modifications should be saved in that particular session.npp file, not in a global one.
      This seems somewhat obvious, but I couldn’t´t figure it out. Is there any way I can achieve this?

      1 Reply Last reply Reply Quote 0
      • Jim DaileyJ Offline
        Jim Dailey
        last edited by

        I don’t think you can do it with the built-in sessions. I use the Session Manager plug-in which does allow you to configure it to auto save each session.

        1 Reply Last reply Reply Quote 0
        • Mário KliemannM Offline
          Mário Kliemann
          last edited by

          Not much luck with SessionMgr.
          I use Notepad++ along with AutoHotkey. So, my final goal is to get one keyboard shortcut (hotkey) for each of my most commonly used sessions.
          Is there an easy way I can launch Notepad++ directly on a specific session (form the command line)?

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank @Mário Kliemann
            last edited by Claudia Frank

            @Mário-Kliemann

            ? menu->Command line arguments…

            parameter in question = -openSession

            E.g. notepad++.exe -openSession C:\npp.session

            In addition, I’m not 100% sure to understand what your original question is.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors