I'm not a huge fan of this. I use plugins that depend on tagmanager, therefore 
I cannot use LSP.

I think this going the wrong direction. Now, for example, when "goto 
definition" is requested we start some IPC or network action which can block 
and/or fail, and this is going to be a nightmare to debug. We don't know 
beforehand what will happen, like if the language server even provides any 
useful information.

Instead I think we should use LSP to augment tagmanager so that we have all the 
needed bits within our problem space when "goto definition" is triggered. Then 
we can reason about the result. If tagmanager data store is not suitable we 
should make the necessary modifications there to make LSP realistic.

Last but not least, I think we should have a unified API towards plugins so 
that they can work with tags and symbols regardless of LSP or tagmanager (or a 
combination).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3571#issuecomment-1793149958
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3571/c1793149...@github.com>

Reply via email to