<p></p>
<blockquote>
<p>how Geany classifies constructions?</p>
</blockquote>
<p>The classification is in the ctags parsers, and the ctags kinds are mapped by Geany <a href="https://github.com/geany/geany/blob/90c6096ed6ea167f9100ce8f74229a3f47acc29a/src/symbols.c#L459">here</a></p>
<blockquote>
<p>Quite specifically in JavaScript,</p>
</blockquote>
<p>which seems to be the problem, there is no Javascript case in the switch linked above, so it falls through to the somewhat random default.  Well I guess it was good enough that whoever added the Javascript type didn't bother to change it, but clearly not perfect.</p>
<p>Anyway, if somebody with both JS and C knowledge wanted to contribute a pull request with a more specific mapping it would probably be accepted.</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/discussions/2879#discussioncomment-1242499">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7VIV3JF33XM6M6Q6TT64GCXANCNFSM5C4PN4OQ">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/AAIOWJ4EDY5U63PDMRH5VCTT64GCXA5CNFSM5C4PN4O2YY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAAJPLAY.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/discussions/2879#discussioncomment-1242499",
"url": "https://github.com/geany/geany/discussions/2879#discussioncomment-1242499",
"name": "View Discussion"
},
"description": "View this Discussion on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>