Community
    • Login

    Basic question about Notepad++ sessions

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 3.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ário KliemannM
      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
        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
          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
            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors