• Login
Community
  • Login

Saving the current loaded session

Scheduled Pinned Locked Moved General Discussion
8 Posts 3 Posters 2.0k 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.
  • I
    Iton Horn
    last edited by Iton Horn Aug 27, 2022, 2:26 PM Aug 27, 2022, 2:21 PM

    Hello, dear Notepad++ Community!

    I would like the Npp could save the current loaded session
    (which can be loaded using command line or menu entry)
    to the currently used session file using the command like “Save”,
    without opening a dialogue and playing a sound.

    I always use Notepad++ as mono-instance. Only one session is open at once.
    I open session files using command line command -openSession.
    I tried the Session Manager PlugIn 1.4.4.0 but it does not do this.
    “Save Current” saves the session in the file Default.ses
    (ses is the extension I use for session-files), not to the used session file.

    Thank you.
    Iton

    A P 2 Replies Last reply Aug 27, 2022, 2:54 PM Reply Quote 0
    • A
      Alan Kilborn @Iton Horn
      last edited by Aug 27, 2022, 2:54 PM

      @Iton-Horn said in Saving the current loaded session:

      Unfortunately, the interaction you describe you want is missing from Notepad++. It has been requested before, but the developers haven’t changed the way it works.

      without opening a dialogue and playing a sound

      It plays a sound?

      I 1 Reply Last reply Aug 27, 2022, 3:11 PM Reply Quote 0
      • I
        Iton Horn @Alan Kilborn
        last edited by Iton Horn Aug 27, 2022, 3:15 PM Aug 27, 2022, 3:11 PM

        @Alan-Kilborn said in Saving the current loaded session:

        It plays a sound?

        The sound is always played if I choose to overwrite an existing session file and I do overwrite it in 95% of cases.

        A 1 Reply Last reply Aug 27, 2022, 3:44 PM Reply Quote 0
        • A
          Alan Kilborn @Iton Horn
          last edited by Alan Kilborn Aug 27, 2022, 3:49 PM Aug 27, 2022, 3:44 PM

          @Iton-Horn

          Ah yes, THAT sound.
          That sound is what happens when you do any sort of save-as and you’re overwriting an existing file, not just a session-save. That’s a Windows sound I’m pretty sure, not a Notepad++ generated sound. It comes from this dialog being shown:

          14205cc3-f5ad-445d-9cae-2d3584d1a6d6-image.png

          But I think the sound is a secondary annoyance for you, that wouldn’t happen if Save Session would just save and not prompt you.

          You do know that just posting here won’t get any changes made to Notepad++, right? I looked through some of your previous posts here, where you wanted things that should be made as feature request, not just posts here. See the FAQ section of this site for instructions on making a feature request that WILL be seen.

          But maybe look thru existing feature requests first, because this one is probably already there.

          I 1 Reply Last reply Aug 27, 2022, 6:38 PM Reply Quote 0
          • P
            PeterJones @Iton Horn
            last edited by PeterJones Aug 27, 2022, 4:13 PM Aug 27, 2022, 4:11 PM

            @Iton-Horn ,

            this was implemented in v8.4.4. is it not working for you in v8.4.4? Or have I misunderstood the issue or your request.

            Otherwise, for manual save, you might want to comment on this open issue

            1 Reply Last reply Reply Quote 0
            • I
              Iton Horn @Alan Kilborn
              last edited by Aug 27, 2022, 6:38 PM

              @Alan-Kilborn said in Saving the current loaded session:

              But maybe look thru existing feature requests first

              Thank you for your reply, Alan!

              @PeterJones said in Saving the current loaded session:

              Otherwise, for manual save, you might want to comment

              Thank you for your reply, Peter!

              I have commented on github under
              [https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11592 ](link url)
              and
              [https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11594 ](link url).

              The feature is important and probably will be not very hard to program.
              Why didn’t they add it already?!

              A 1 Reply Last reply Aug 27, 2022, 11:23 PM Reply Quote 0
              • A
                Alan Kilborn @Iton Horn
                last edited by Aug 27, 2022, 11:23 PM

                @Iton-Horn said in Saving the current loaded session:

                probably will be not very hard to program.

                Why do you think this?
                Sometimes things that are conceptually easy are difficult to realize in software.
                I don’t really know if this is the case here or not, but it isn’t respectful to people you are asking to make software changes to tell them how easy something should be.
                If it is so easy, they may ask YOU to make the necessary software changes and submit them as a user contribution.
                (Whoa, perhaps now you’ve changed your mind on it being “not very hard”)

                Why didn’t they add it already?!

                Lack of time perhaps, or they didn’t see the need for it, or they didn’t think the need was important as you seem to think it is – really the reason could be anything…

                I 1 Reply Last reply Aug 28, 2022, 1:21 AM Reply Quote 0
                • I
                  Iton Horn @Alan Kilborn
                  last edited by Iton Horn Aug 28, 2022, 1:25 AM Aug 28, 2022, 1:21 AM

                  @Alan-Kilborn said in Saving the current loaded session:

                  but it isn’t respectful to people you are asking to make software changes to tell them how easy something should be.

                  I do not see any disrespect in asking to make changes and simultaneously supposing the changes are easy.
                  Notepad++ has already many functions having to do with saving (the “Save” function it self at first) so that the mentioned function is only a fork of something, that already exists (and makes the program ergonomically better).

                  @Alan-Kilborn said in Saving the current loaded session:

                  they may ask YOU to make the necessary software changes and submit them as a user contribution.

                  I would do it if I only could.
                  But as a user and tester I only can give feedback and post it here or on github. I have done this humble contribution, nothing more.

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