Saving the current loaded session
-
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 -
@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?
-
@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.
-
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: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.
-
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
-
@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?! -
@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…
-
@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.