On 07/03/2022 11:03 PM, Lex Trotman wrote:
On Mon, 4 Jul 2022 at 12:39, H agents@meddatainc.com wrote:
I am running Geany 1.36 under CentOS 7 and just experienced a crash of the desktop which resulted in an empty file list when I reloaded Geany...
I'd like to avoid this in the future and was thinking that I might be able to group various related files into Geany Projects which I can then open/close as needed, and, importantly, were the editor to crash, I could then simply reload the project.
Geany projects are just named sessions, so they may be subject to the same issues of not being saved if the desktop/os/Geany crashes. Newer Geany versions than 1.36 do save more often so that risk is reduced. And the unreleased git version even splits session from preferences.
In my case, files I would add to individual projects are in different directories where unrelated files also exist.
Geany projects (as distinct from the various project plugins like Project Organiser) doesn't care where open files are located. The plugins do care because they do extra stuff, for example load all symbols, based on what they think of as a "project" (a single tree), but AFAIK none of them stop you opening files outside that directory.
Is there a way to organize my work as outlined above? Perusing the Project Organizer page for Geany it seems that I could add subdirectories with all their files to a project which does not meet my need above.
Geany itself deliberately does not dictate layout of anything, unlike "full fat" IDEs, but as you noticed some plugins do require more limitations to do their work, but thats the plugins requirement, not Geanys.
Is there another way?
As I said above, more recent Geany versions do save the session and preferences more often in an attempt to limit the situations where its lost, maybe upgrade.
Cheers Lex
Thanks.
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Thank you. It sounds like an interesting feature that is being added. The latest release seems to be 1.38 - although 1.36 is the latest available for CentOS 7/RHEL 7 - so this would be forthcoming in 1.39, or?
Apart from this new feature, it would certainly be nice to get an update of Geany for CentOS/RHEL 7...
Reading through your comments, it seems that I should rethink how I organize "projects". I have different types of projects, some of which fit nicely into the Geany paradigm where I can create a project and then add various subdirectories to it.
Other "projects" of mine consist of different types of files, eg .md, .doc, .sql, .sh, .R etc., which I have hitherto organized more along the lines of various types of binaries etc, documentation etc. separated as to "category" of files. May not be the best method for organizing though...
Perhaps I should rethink this and simply create "projects" collecting the different types of files belonging together in various project subdirectories, or multiple subdirectories under a project subdirectory.
The reason I have used the former organization is that I can then keep the binaries in ~/home/bin which is in the path. If I were to reorganize, I would lose that - if I don't add all the new binary directories to the path...
Thoughts appreciated!