On 2022-07-06 10:21, Lex Trotman wrote:
The files saved in Geany project files are simply intended to be a list of files open in the current session, its not like "projects" in full fat IDEs where files have to be "added" to the project and will be remembered even if not open. Since its only the session, if a file won't open (due to locked crypts or network fails or whatever) it is no longer in the session and its name is not saved.
So unfortunately there is no simple solution.
OK, yes I fully understand the reason behind it, I was hoping there was some hidden setting somewhere ("Don't remove inaccessible files from project files").
In theory it could be possible to script backing up the project and/or user session files before starting Geany just in case, but thats an exercise left to the reader ;-)
Yes, I have thought about that, but then there' always the risk that the script is also overwriting a good project file with a bad one.
But thanks for confirming. :)
- Micael