Basic question about Notepad++ sessions
-
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? -
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.
-
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)? -
? 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
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