Hey there,
Micael wrote:
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".
Is there a smart way of dealing with this, that I have missded? :)
This is exactly the type of situation where I would use a list of files (with their full paths) as options on the command line to ask Geany to open them for me:
geany "/home/foo/Desktop/file1.txt" "/home/foo/Desktop.file2.txt"
If you put that into a script or a .bashrc alias, nothing will come along and alter it and you can rely on it to open exactly what you like each time.
If all of the files are already open when you run the command/alias/script, Geany won't do anything. If none of the files are already open, Geany will open them all in the same tab order each time. If some of the files are already open, Geany will open only the ones that aren't. The freshly-opened ones will be opened in new tabs on the right and won't necessarily be in the order that you would normally expect them to be. I just drag them into place afterwards.
I've got several different types of activities that each have files "exploded" all over the place and this has never failed me.