<p></p>
<p dir="auto">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</p>
<ol dir="auto">
<li>Inside the project directory</li>
<li>Outside the project directory</li>
</ol>
<p dir="auto">and what this proposal does is it introduces yet another mode:</p>
<ul dir="auto">
<li>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</li>
</ul>
<p dir="auto">Now imagine a user created a <code>my_project.geany</code> file inside his <code>basename</code> 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.</p>
<p dir="auto">Or imagine the user just happily uses this feature only and then deletes the <code>.cache</code> directory because he thinks it contains just temporary files. Of course, it could be also in <code>.config</code> but the problem of more-or-less-invisible project files stored at a location that is totally separate from the project still remains.</p>
<p dir="auto">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:</p>
<ol dir="auto">
<li>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</li>
<li>Just update existing project opening to improve existing behavior which is what I try in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1071244740" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/3042" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/3042/hovercard" href="https://github.com/geany/geany/pull/3042">#3042</a> (and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1063003478" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/3018" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/3018/hovercard" href="https://github.com/geany/geany/pull/3018">#3018</a> before)</li>
</ol>
<p dir="auto">As I think (1) won't pass, I tried doing (2).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3044#issuecomment-986959728">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZCB72C2WFZRZGH4NLUPTS4BANCNFSM5JN27XUA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ3GTIBELZLLWN6HZ2DUPTS4BA5CNFSM5JN27XUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHLJ464A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3044#issuecomment-986959728",
"url": "https://github.com/geany/geany/pull/3044#issuecomment-986959728",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>