<p></p>
<p dir="auto">According to a <a href="https://github.com/geany/geany/issues/1899#issuecomment-465095249" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1899/hovercard">comment</a> at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="342707920" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/1899" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1899/hovercard" href="https://github.com/geany/geany/issues/1899">#1899</a>:</p>
<blockquote>
<p dir="auto">Note that Geany does in fact detect the prefixes you suggested:</p>
<pre><code><!DOCTYPE html
<html
<?xml
<?php
</code></pre>
<p dir="auto">and a whole bunch of #! names.</p>
</blockquote>
<p dir="auto">However, when I tested each of the prefixes mentioned above in a file named <code>test</code>, the assigned filetype is "None".</p>
<p dir="auto">Since filetype autodetection occurs only when documents are opened, I closed and reopened the document after changing the first line prefix.</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/2997">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZNTF72PAIXX7ONVKTULVP3FANCNFSM5H5PM7EA">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/AAIOWJYFSJSFD4OP7NEPND3ULVP3FA5CNFSM5H5PM7EKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PVZEVLQ.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/2997",
"url": "https://github.com/geany/geany/issues/2997",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>