I frequently lose my NP++ session because of app/windows/computer crash.
Is it possible to create a checkbox option under SETTINGS - PREFERENCES - MISC that says "Autosave session with every file save" ?
Or is there already a way to do this? (I know about the manual Save Session command under FILE menu -- too much work and I always forget. Is there a macro to do it?)
Associate a shortcut to Save session. Now you can create a macto that saves file and then saves macro - for safety, unbins Save As if ou wish to reuse the same shortcut.
Still struggling with this. Every time NP++ crashes, a different session (or no session at all) is re-loaded.
I love the fact that NP++ remembers my workspace (what I am calling the "session") every time I close NP++ gracefully.
But it would be fantastic to have a setting as mentioned above that saves my current workspace every ___ minutes, for those times when NPP/Windows/Computer crashes.
The key here is to save the "current workspace" session - the one that is automatically reloaded every time I start NPP DUE TO THE SETTING:
PREFERENCES -> MISC -> Remember current session for next launch
That is the session I wish to auto-save.
Unless I am missing something, I don't believe CChris' suggestion (above) could update this session. Or, perhaps I just need to know the name of that special session to be able to automate saving it...? (A config checkbox would be a good idea anyway - Swami predict oodles of positive karma and Thankyews flying your way from all over the globe...)
Any chance of making this a feature request?
I'm working on auto-backup system which will be included in the next release.
The session file is part of files to backup which will have the behaviour you expect.
However, the crash should not be tolerated, may I know how to reproduce the crash (in the latest version 6.5.5)?
what about the file shortcuts.xml ? Will it be also included on the auto-backup ?
I have recently found a limitation :
So shortcut.xml lost all the plugin shortcut mapper confiugration if we start Notepad++ with "no plugin" option.
Do you have an idea how to deal with this problem ?
Hello Christophe, Don and All,
Christophe, You're perfectly right ! If you rename, for example, the sub-directory plugins in lugins, and open Notepad++, then, on exit, Notepad++ re-write the shorcuts.xml file, with an EMPTY PluginsCommand section !!
Therefore, after renaming back the Plugins directory to its original name, ALL the possible user shortcuts stored, relative to plugins, are definitively LOST :-(
As for me, I always backup the Shortcuts.xml file of my N++ configuration ! One never knows.
So, Don can you do anything about this annoying problem ?
Thank you, by advance :-)
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.