On Wed, 6 Jul 2022 at 16:56, Micael m8847@abc.se wrote:
Hi,
While reading the thread regarding "grouping text files in project", I was curios if anyone has a solution to a problem that I am hitting every now and then;
I have some projects (with lots of files) that are either located on a network share, or in an encrypted vault (KDE) (or a combination of those).
Too often, I forget to open the vault, or sometimes I don't have access to the network share - If I then open a project in Geany, it removes all the files that are inaccessible during project load, from the project. I then have to find them, and open them again, once they are available.
Note: the main "problem" for me, is that Geany saves the new file list on exit, or perhaps also earlier. So quitting Geany, opening the vault will not help, the file list is already "corrupt".
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.
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 ;-)
Cheers Lex
Is there a smart way of dealing with this, that I have missded? :)
Geany is without a doubt, one of the best text editors out there!
Cheers, Micael _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org