Forum > Editor
Feature request/suggestion about file saving
440bx:
Hello,
It would be nice to be able to configure Lazarus to automatically save any file that has been modified when it loses focus (that is, the user is switching to another app.)
That would enable the other app to detect any changes that were made to the files using Lazarus.
Comments welcome.
MarkMLl:
Two thoughts:
i) Does Lazarus save files (or make temporary copies) when it gets a power-failure signal?
ii) Could automatic saving be handled by an IDE plugin?
MarkMLl
440bx:
I don't know the answers to those two questions but, I am under the impression that there is no plugin support in Lazarus. Is that impression incorrect ?
MarkMLl:
--- Quote from: 440bx on July 27, 2024, 10:16:37 am ---I don't know the answers to those two questions but, I am under the impression that there is no plugin support in Lazarus. Is that impression incorrect ?
--- End quote ---
OK, "compiled-in package" then. Poor terminology on my part.
In this particular case I can't speak for Linux (or other unices), but my experience is that Windows handles the "SHUT DOWN NOW" triggered by e.g. a UPS fairly well.
MarkMLl
DomingoGP:
--- Quote ---ii) Could automatic saving be handled by an IDE plugin?
--- End quote ---
Hi, the attached zip contains a barely tested ide plugin that save the files when the ide is deactivated.
I hope it solves your feature request.
How to use:
Menu -> Package -> Open package file (lpk).
Button Compile
Button Use/Install.
If you don't like it :( then:
Open package file (lpk)
Button Use/Uninstall.
Regards
Domingo.
Navigation
[0] Message Index
[#] Next page