<p></p>
<p><b>@techee</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/3185#discussion_r867918618">src/symbols.c</a>:</p>
<pre style='color:#555'>>      foreach_ptr_array(tmtag, i, tags)
        {
+               if (!tm_workspace_is_autocomplete_tag(tmtag, doc->tm_file, current_line, current_scope))
</pre>
<p dir="auto">This is because for tag definition/declaration goto basically the same conditions like for autocompletion apply. Without this patch, if you perform the goto for e.g. variable <code class="notranslate">i</code>, you'd see all the local variables <code class="notranslate">i</code>'s in your project, which is a lot and irrelevant to the current function.</p>
<p dir="auto">Maybe <code class="notranslate">tm_workspace_is_autocomplete_tag()</code> could be named a different way, I just couldn't come up with a better name.</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#discussion_r867918618">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5TUFWQBWQT7KEESMDVJD2QVANCNFSM5UWGU33A">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJYQFMZOBRTRR5KF6L3VJD2QVA5CNFSM5UWGU33KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOHGJ6BEQ.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/review/965992594</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#discussion_r867918618",
"url": "https://github.com/geany/geany/pull/3185#discussion_r867918618",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>