<blockquote>
<p>its the order in which filetypes are defined in filetypes_array</p>
</blockquote>
<p>Yes. With <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="450258642" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/2166" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2166/hovercard" href="https://github.com/geany/geany/pull/2166">#2166</a> you can override just <code>Javascript=*.js;*.js.aspx;</code> in the user conf file and this will be preferred over a matching <code>*.aspx</code> system file XML pattern. This doesn't help if the latter is in the user file though.</p>
<p>Perhaps the longest matching pattern should win, that'd also fix <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="230122866" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/1499" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1499/hovercard" href="https://github.com/geany/geany/issues/1499">#1499</a>. I'll take a look.</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/1921?email_source=notifications&email_token=AAIOWJZHRN3NOSAOVDGIZCTPYBAMPA5CNFSM4FOQGOTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWTRVUA#issuecomment-497490640">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7BSO4QM3DY6ZPRKPLPYBAMPANCNFSM4FOQGOTA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6EAPNT4WHZABWFCFDPYBAMPA5CNFSM4FOQGOTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWTRVUA.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/1921?email_source=notifications\u0026email_token=AAIOWJZHRN3NOSAOVDGIZCTPYBAMPA5CNFSM4FOQGOTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWTRVUA#issuecomment-497490640",
"url": "https://github.com/geany/geany/issues/1921?email_source=notifications\u0026email_token=AAIOWJZHRN3NOSAOVDGIZCTPYBAMPA5CNFSM4FOQGOTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWTRVUA#issuecomment-497490640",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>