[Github-comments] [geany/geany] Open folders (PR #3044)

Jiří Techet notifications at xxxxx
Mon Dec 6 16:52:16 UTC 2021


IMO the biggest problem of this proposal is that it introduces yet another (this time hidden) place where project files are stored. We already have
1. Inside the project directory
2. Outside the project directory

and what this proposal does is it introduces yet another mode:

- outside the project directory at a place which isn't meant to be permanent and which is more or less hidden from normal use and where it isn't clear if it exists or not

Now imagine a user created a `my_project.geany` file inside his `basename` directory and runs Project->Open folder on it. He certainly expects the previously created project is opened like in any other editor but instead, the new, hidden project is created.

Or imagine the user just happily uses this feature only and then deletes the `.cache` directory because he thinks it contains just temporary files. Of course, it could be also in `.config` but the problem of more-or-less-invisible project files stored at a location that is totally separate from the project still remains.

IMO the main problem here is that we just simply can't implement the "Open folder" feature with the current way projects work in Geany without doing something ugly. I think there are just 2 right options here:
1. Force users to have their project file in the root of their base name (or some project directory) under a fixed name - then "Open folder" will just work like in any other editor
2. Just update existing project opening to improve existing behavior which is what I try in #3042 (and #3018 before)

As I think (1) won't pass, I tried doing (2).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3044#issuecomment-986959728
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211206/6b2215e1/attachment.htm>


More information about the Github-comments mailing list