<p></p>
<blockquote>
<p dir="auto">changing the filetype (if detected) from a reloaded file means a user specified filetype will be overridden</p>
</blockquote>
<p dir="auto">What happened to the "presumption is that the majority of files recognise their filetype correctly"?  Given how annoying changing filetypes is, I doubt many users bother to manually change it.</p>
<blockquote>
<p dir="auto">... there is even an automatic reload option used by some for dynamic things like logfiles or program outputs. An accidental filetype detection on reload would keep changing the user set filetype for those.</p>
</blockquote>
<p dir="auto">If program output includes filetype identification, the filetype should be changed to match.  For log files, the filetype is unlikely to change because logs are usually appended.  If the filetype is changed only when the type is None, it's even less likely that a manually selected filetype would be changed.</p>
<blockquote>
<p dir="auto">Do not to connect two separate actions and force users to accept both when they only want one.</p>
</blockquote>
<p dir="auto">Reload + detect filetype could easily be put behind a flag in various.  Then whoever wants it can just check a box.</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/issues/2996#issuecomment-967797417">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7BRBYWHQGD5LQ6G3DULYG5JANCNFSM5H5OSHDQ">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/AAIOWJYOZPTKFJ4AEKXAPWDULYG5JA5CNFSM5H5OSHD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHGXWVKI.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/issues/2996#issuecomment-967797417",
"url": "https://github.com/geany/geany/issues/2996#issuecomment-967797417",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>