NPP Sessions
-
Notepad++ Sessions
Any thoughts on adding “Previous Sessions” to NPP? That way we wouldn’t have to traverse the file system every time we want to open a previous session.Thanks!
-
What’s about
menu File -> Save Session...
respectivelymenu File -> Load Session...
?Or even
menu Settings -> Preferences... -> Backup -> Session snapshot and periodic backup -> Remember current session for next launch
? -
@mikeguyre You can try out the session manager plug-in. One of its features is “Load previous session” so you can switch between 2 sessions very quickly.
-
@dinkumoil The File open dialog for
Load Session
defaults to the folder of the last file you had opened so you have to navigate to find the session file. I use multiple sessions depending on what I am working on so your second suggestion wouldn’t work for me. -
If you use the session manager plug-in, then you don’t ever use
Load Session
orSave Session
in NPP’sFile
menu. You use the plug-in’s commands. I put some of them in my context menu, so that I can right-click and chooseLoad Previous Session
as one of my choices:<Item PluginEntryName="Session Manager" PluginCommandItemName="Sessions..." ItemNameAs="Session Dialog"/> <Item PluginEntryName="Session Manager" PluginCommandItemName="Save current" ItemNameAs="Save Session"/> <Item PluginEntryName="Session Manager" PluginCommandItemName="Load previous" ItemNameAs="Load Previous Session"/>
-
@mikeguyre said:
The File open dialog for Load Session defaults to the folder of the last file you had opened so you have to navigate to find the session file.
Yes, this is annoying, but if you keep all of your session config files in one folder you can put a link to that folder in your Windows Favorites so that it is only a few extra navigation clicks away.
Jim’s solution sounds better…try it.