<p></p>
<blockquote>
<p dir="auto">Given how annoying changing filetypes is, I doubt many users bother to manually change it.</p>
</blockquote>
<p dir="auto">You overstate that, its simply a multi-level menu, just because you don't like them does not mean they are an issue for most people.</p>
<p dir="auto">Geany is a GUI program with keyboard shortcuts for common things, menus are the main UI method.   I'm not saying the UI is brilliant, feel free to suggest a better UI but in a separate issue.</p>
<p dir="auto">The filetype menu is multi-level because the number of options is so large a single menu could overflow smaller screens (there was a mailing list query Nov 8 that even existing (unspecified) menus are too large for Raspberry pi resolutions so it already happens for some menus).</p>
<blockquote>
<p dir="auto">For log files, the filetype is unlikely to change because logs are usually appended.</p>
</blockquote>
<p dir="auto">So every reload will re-detect the same wrong filetype.</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>
</blockquote>
<p dir="auto">Just make re-detect filetype a menu option separate from reload, not another mysterious option, <code>Document->Set Filetype->Redetect</code> with a keybinding.  It could even be useful for users having trouble setting the <code>-*-XXX-*-</code> comment.</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-967799785">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6XSBMDBZNQ74RQJBTULYJUDANCNFSM5H5OSHDQ">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/AAIOWJ4LIS6S3RUCY3M7QL3ULYJUDA5CNFSM5H5OSHD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHGXXH2I.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-967799785",
"url": "https://github.com/geany/geany/issues/2996#issuecomment-967799785",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>