I have developed a small plugin for automatically saving open files upon Notepad++ losing focus or at timed intervals.
I post here a link in case somebody is interested to use it and test it:
yep, very nice plugin, would be nice if this is a default one.
Is it possible to autosave unnamed files without getting a "Save As" dialog, save them to a temp file
of some sort.
I always use my notpad++ as a scrable pad, where I just enter some useful text for the day/week, dont
realy need to save it to a file
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm still missing a clean way to save only the named tabs... as discussed in another of my posts.
Right now I have to switch to the individual tabs that I have to save and save them.
It would be nice to have one of the following:
1 a way to save a tab that not the current one... i.e. based on his index or name
2 a new NPPM to save all the named files
Moreover, in order to catch the WM_ACTIVATEAPP message I had to install a bypass WndProc... it would be cleaner to have the message passed through the messageProc calling.
I still have to design a dialog box to set the autosave timed interval...
At the end I think these basic functions should be included in the core NPP in one of the future releases.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Love the plugin, but had to disable it because every time it autosaves, the document "resets" to the top. Is there a way to implement the autosave and have the document stay at the same point where I am entering code?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> I'm still missing a clean way to save only the named tabs...
> as discussed in another of my posts.
>
> Right now I have to switch to the individual tabs that I have to save and save them.
In fact, there's no "clean way" to do so.
That's why I didn't do autosave plugin even it is demanded.
> Moreover, in order to catch the WM_ACTIVATEAPP message I had to install a bypass WndProc... > it would be cleaner to have the message passed through the messageProc calling.
OK. you can get this message from messageProc() in the v4.1.1.
Let me know if you need the newest binary to test.
> At the end I think these basic functions should be included in the core NPP
> in one of the future releases.
I'll consider it.
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have uploaded a new version (v1.10) of AutoSave plugin that allows to change the autosave time interval through a dialog box.
This also implement the use of the new NPPM_GETPLUGINSCONFIGDIR available since NotePad++ v1.10.
This means that for users with Notepad++ >v1.10 and not using a local profile, the profiles will now be saved in %APPDATA%\Notepad++\Plugins\Config instead of %APPDATA%\Notepad++.
As a consequence you may need to move there your last saved profile to be seen on next startup or create a new one on exit.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
any chance someone could make this plugin compatible with unicode notepad++?
also, i think it would be a good idea if the plugin could automatically generate names based on the first X characters of text and/or the file creation date, and save to a 'backup sessions' folder.
Doing web development, whenever working on multiple sites, I have multiple style.css along with other duplicate filenames. Of course different paths for different websites. I'm saving them as verbose, so each file gets the date appended. However, when going to that folder, I can't tell which is which, and I have to do a lot of opening files before I can figure it out along with the optimal version.
Is there a way to save a portion of the file path along with the filename, ex. themes-css-style.ccss ?
I guess I'd prefer to keep the excessive amounts of backups I make in a seperate folder, but can always resort to keeping them in the same folder.
I have developed a small plugin for automatically saving open files upon Notepad++ losing focus or at timed intervals.
I post here a link in case somebody is interested to use it and test it:
http://fstellari.googlepages.com/AutoSave_dll_1v00.zip
Could you change or add the possibility to set the autosave interval also in seconds ?
Thanks anyway for your plugin.
BR
Mauro
Nice plugins you have done.
Are you plainning to release the source files?
If so, may I publish your 2 plugins in down load section of Notepad++ site?
Don
yep, very nice plugin, would be nice if this is a default one.
Is it possible to autosave unnamed files without getting a "Save As" dialog, save them to a temp file
of some sort.
I always use my notpad++ as a scrable pad, where I just enter some useful text for the day/week, dont
realy need to save it to a file
I'm still missing a clean way to save only the named tabs... as discussed in another of my posts.
Right now I have to switch to the individual tabs that I have to save and save them.
It would be nice to have one of the following:
1 a way to save a tab that not the current one... i.e. based on his index or name
2 a new NPPM to save all the named files
Moreover, in order to catch the WM_ACTIVATEAPP message I had to install a bypass WndProc... it would be cleaner to have the message passed through the messageProc calling.
I still have to design a dialog box to set the autosave timed interval...
At the end I think these basic functions should be included in the core NPP in one of the future releases.
Love the plugin, but had to disable it because every time it autosaves, the document "resets" to the top. Is there a way to implement the autosave and have the document stay at the same point where I am entering code?
> I'm still missing a clean way to save only the named tabs...
> as discussed in another of my posts.
>
> Right now I have to switch to the individual tabs that I have to save and save them.
In fact, there's no "clean way" to do so.
That's why I didn't do autosave plugin even it is demanded.
> Moreover, in order to catch the WM_ACTIVATEAPP message I had to install a bypass WndProc... > it would be cleaner to have the message passed through the messageProc calling.
OK. you can get this message from messageProc() in the v4.1.1.
Let me know if you need the newest binary to test.
> At the end I think these basic functions should be included in the core NPP
> in one of the future releases.
I'll consider it.
Don
There is a way to change the default autosave time interval ?
Thanks
Mauro
I have uploaded a new version (v1.10) of AutoSave plugin that allows to change the autosave time interval through a dialog box.
This also implement the use of the new NPPM_GETPLUGINSCONFIGDIR available since NotePad++ v1.10.
This means that for users with Notepad++ >v1.10 and not using a local profile, the profiles will now be saved in %APPDATA%\Notepad++\Plugins\Config instead of %APPDATA%\Notepad++.
As a consequence you may need to move there your last saved profile to be seen on next startup or create a new one on exit.
I forgot to include the link:
http://fstellari.googlepages.com/AutoSave_dll_1v10.zip
and of course I menat Notepad++ v4.1.0 and not v1.10.
any chance someone could make this plugin compatible with unicode notepad++?
also, i think it would be a good idea if the plugin could automatically generate names based on the first X characters of text and/or the file creation date, and save to a 'backup sessions' folder.
i go into more detail in this feature request thread:
https://sourceforge.net/projects/notepad-plus/forums/forum/482781/topic/4673486
Hi zer0nix
a unicode version already exists since 2008 ;-)
See npp-Plugin_wiki for all plugins: http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Plugin_Central
and fstellari's page for the changes: http://sites.google.com/site/fstellari/nppplugins
Custom Names for Auto Save?
Doing web development, whenever working on multiple sites, I have multiple style.css along with other duplicate filenames. Of course different paths for different websites. I'm saving them as verbose, so each file gets the date appended. However, when going to that folder, I can't tell which is which, and I have to do a lot of opening files before I can figure it out along with the optimal version.
Is there a way to save a portion of the file path along with the filename, ex. themes-css-style.ccss ?
I guess I'd prefer to keep the excessive amounts of backups I make in a seperate folder, but can always resort to keeping them in the same folder.
In config.xml it has
Could working with this provide the answer? If yes, I'm not sure what xml variables would be avaible to work with the file.
Thanks!
Autosave 1.3 does not work with uniquecode version NP++ 5.6 and higher ,
Autosave 1.2 still working
Any ideas
Thank you
Autosave failing installation
Notepad++ unicode from portableapps v6.3.3
Notepad++ plugin manager 1.0.8.0