[Github-comments] [geany/geany] Use the official 'libreadtags' library from ctags for parsing ctags files (PR #3049)

Jiří Techet notifications at xxxxx
Wed Dec 15 09:37:33 UTC 2021


> But some things are slow, like highlighting, which can take about a second or two, that may be a timer or simply thats how long the server takes to do a proper compiler anaylsis of the syntax and semantics and respond.

Depends what we use the language server for. The only thing that really sucks with tag manager right now in my opinion is autocompletion - the rest is quite fine. So initially the usage of LSP could concentrate on that.

> Yeah, I was hoping for libraries, not having to adapt a client internals, tagmanager 2.0 anyone??

It took just about 15 years to recover from tag manager integration and we are almost there. We should start thinking about what to do in another 15 years :-).

But if LSP usage is limited to some features only, it may turn out that implementing it as a plugin is enough. I think initially though for some working prototype it would be best to hack it directly into Geany to know what API might be missing and decide based on that.

No matter whether we take some client code from somewhere or implement our own, there will have to be some JSON parser/serializer (json-glib seems to be a natural choice) in its core that will have to be either bundled or an external dependency - not sure if it's fine or not for Geany, for plugin it would be a easier decision.

> But none of this is relevant to using libreadtags which seems a fine idea.

Yeah, back on earth, tag manager is what we have. The rosy world of LSP autocompletion for me is just an excuse why not improve the scary tag-manager-based scope completion much :-).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3049#issuecomment-994576821
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211215/0508bbf2/attachment.htm>


More information about the Github-comments mailing list