<p></p>
<blockquote>
<p dir="auto">Agreed, but if only there was a way for it to actually take over, because so much is hard wired to tagmanager its difficult to do so, look at previous experiments with libclang.</p>
</blockquote>
<p dir="auto">I don't think it's that bad - the biggest problem of previous attempts was they didn't clean the mess of tag manager itself first and tried to implement it on top of what's there right now. The biggest offender is <code>symbols.c</code> where many things could just be moved into tag manager and hidden behind appropriate API. I think the best way to go forward would be introducing a LSP-like API to tag manager for certain things and then switching between tag-manager-LSP and real LSP wouldn't be that hard. TMTag could be used for passing symbol data both by tag manager and LSP (if we needed some extra info from LSP, we could add some <code>priv</code> pointer to it where extra details could be stored). Also, to simplify things I think we could also keep tag manager running even with LSP enabled, just not use tags from it for symbol tree, autocompletion, navigation etc.</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/pull/3049#issuecomment-992517133">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5OEX54WQA3AHYQKMTUQX5BVANCNFSM5JUGWD2A">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/AAIOWJZ6OZEYTSQUYM65WLTUQX5BVA5CNFSM5JUGWD2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHMUJYDI.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/pull/3049#issuecomment-992517133",
"url": "https://github.com/geany/geany/pull/3049#issuecomment-992517133",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>