francostellari / NppPlugins

Other
105 stars 6 forks source link

Wish: Option to save only modified files #21

Open nebosite opened 2 years ago

nebosite commented 2 years ago

I usually have 20-50 files open in np++, but only a couple are modified, so the app goes a little crazy during the autosave. Would be nice to just save files that have changes.

francostellari commented 2 years ago

Autosave only saves modified files. If you comment is related to switching tabs in the autosave process you have 2 options: 1) save only current tab 2) save all file and select ask for filename for unnamed tabs Both options do not switch tabs. There currently no way for a plugin to determine which file is changed/named without first selecting its tab.

nebosite commented 2 years ago

OK, that's probably why is acts so strange. It takes a second or two to flip through all the tabs.
The best option would be to autosave every time I change a tab in the app.