• Login
Community
  • Login

current session

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 599 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.
  • N
    notepad347
    last edited by Oct 15, 2023, 2:07 PM

    I have multiple notepadpp open,
    in each different session.
    But I do not know what session is open in any of the instance.
    How can I see in what session notepadpp is open? Thank you

    A 1 Reply Last reply Oct 15, 2023, 2:42 PM Reply Quote 0
    • A
      Alan Kilborn @notepad347
      last edited by Oct 15, 2023, 2:42 PM

      @notepad347

      I don’t believe what you are seeking is currently possible. Notepad++ 's session related support is not great.

      1 Reply Last reply Reply Quote 0
      • N
        notepad347
        last edited by Oct 17, 2023, 7:18 AM

        Maybe someone recommends I use something else, not sessions?

        M 1 Reply Last reply Oct 17, 2023, 5:20 PM Reply Quote 0
        • M
          mkupper @notepad347
          last edited by Oct 17, 2023, 5:20 PM

          @notepad347 said in current session:

          Maybe someone recommends I use something else, not sessions?

          When I read your initial post I wondered why you could not tell what session a particular instance of Notepad++ you were looking at by looking at the file names in the tabs.

          If the file names are too similar then a thought is to set up several portable copies of Notepad++ and to configure each of them in slightly different but recognizable to you ways. For example, Notepad++ supports what it calls “Project panels” (in the View menu). You could set up one session to always be in panel 1, another in panel 2, etc. You use different colors, fonts, etc. for each copy.

          I agree though that it would be nice if Notepad++ had better session support. At present, opening a session file just adds the list of files in a session.xml file to the list of tabs and does not keep track of the name(s) of the session file(s) you have opened nor does it make an effort to keep those files up to date. The current handling of sessions is more like “import a list of files into Notepad++'s tabs of open files” and “export the list of open tabs into a file.”

          The Notepad++ manual section at https://npp-user-manual.org/docs/session/ has more about sessions, workspaces, and project panels that may best work for you.

          N 1 Reply Last reply Oct 19, 2023, 10:13 AM Reply Quote 2
          • N
            notepad347 @mkupper
            last edited by Oct 19, 2023, 10:13 AM

            Thank you for explanation
            Sublime has a good solution showing project name in title bar, but there are some futures in notepad++ that I like to use. I guess sublime spoiled me.

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