<p></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kugel-/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kugel-">@kugel-</a>  I don't see the searching and sorting and header parts as something separate from enabling local variables, they are an integral part of presenting the locals to the user in a usable manner.</p>
<p dir="auto">You complained about separation of the conversation on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1210142806" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/3175" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/3175/hovercard" href="https://github.com/geany/geany/pull/3175">#3175</a> but it does not appear you understood it.  Otherwise you would have understood that without the filtering and the ordering parts of the PR unrelated globals from the C/C++ global tags files overwhelm the locals in the autocomplete list and make them unusable.</p>
<p dir="auto">And without the work for selecting the most likely base symbol for scope autocomplete it is also less useful since it will be more likely to present completions for the wrong variable.</p>
<p dir="auto">Locals are inherently scoped, and inner scopes hide outer scopes.  So "enabling locals" inherently involves handling scopes, and those rules are inherently language specific, see the examples in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1210142806" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/3175" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/3175/hovercard" href="https://github.com/geany/geany/pull/3175">#3175</a>.  Geany does not have exact scope detection, especially with include files, so the sorting and filtering, including (for C/C++) prioritising header file symbols over globals provides a heuristic for presenting the most likely candidates at the top of the autocomplete list, and choosing the most likely base for scope autocomplete so making them usable</p>
<p dir="auto">Splitting the PR now means more work, double testing, the initial PR presenting a bad experience, and the risk of introducing bugs in the split.</p>
<p dir="auto">For all the above reasons I do not support splitting this PR.</p>
<p dir="auto">I did react negatively to your blocking and seeming to demand it be split after seeming to accept the PR as I pointed out above, and I apologise for that.  Perhaps you didn't mean to seem to accept it, and you didn't mean to be demanding without reason.  English is imprecise and usages vary around the world, here "please do x" means "I would like you to do x if its reasonable", whereas "do x please" means "I demand you do x and am saying please just to be polite", but I am not sure its the same in other English speaking countries, let alone when English is not a first language.</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/3185#issuecomment-1114354243">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5UJDZAGH5DFFLDGLDVH4BU5ANCNFSM5UWGU33A">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJYLYH3T6QTESHI2UOLVH4BU5A5CNFSM5UWGU33KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIJV3EQY.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/3185/c1114354243</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/3185#issuecomment-1114354243",
"url": "https://github.com/geany/geany/pull/3185#issuecomment-1114354243",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>