<p></p>
<blockquote>
<p dir="auto">This is something I'd still like to look at - I think I could optimize the non-scope autocompletion a bit so it doesn't have to govthrough so many symbols (and sort those). The biggest danger is libraries like glib or gtk where all the symbols have the same prefix g_ or gtk_ and are possible candidates for the autocompletion popup.</p>
</blockquote>
<p dir="auto">OK, it's hopefully fixed in the latest commit.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/elextr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elextr">@elextr</a> I still find it a little strange that I get autocompletion results for variables declared after the current line in the function (I would say it's more annoying to see these invalid suggestions than the rare problem when you have variables declared later in the code by mistake). If you use some other editors for C/C++, would you check how they behave in this respect?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3175#issuecomment-1112415759">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4RS2MTAYRBHWB4ETTVHK4NDANCNFSM5T5CX5RA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJYQN6SHCUQNT7N47WLVHK4NDA5CNFSM5T5CX5RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIJHB4DY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/pull/3175/c1112415759</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3175#issuecomment-1112415759",
"url": "https://github.com/geany/geany/pull/3175#issuecomment-1112415759",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>