agda-language-server icon indicating copy to clipboard operation
agda-language-server copied to clipboard

Expected functionality for non-VScode editors?

Open omentic opened this issue 1 year ago • 1 comments

Hey @banacorn! I saw in another comment somewhere that this language server operates mostly on extensions spoken by both it and agda-mode (which makes sense as to much of the trouble I was having getting it working before).

I was wondering: could what is done via custom methods and what is done via standards be written down and made explicit somewhere? It is hard for me to know exactly what to expect out of this language server at the moment (and thus if it's working).

omentic avatar Dec 19 '23 03:12 omentic

Hey! Here is the handler of the server:

https://github.com/agda/agda-language-server/blob/d6a02745a554871b6db24217ccc494bc6d46a904/src/Server.hs#L98-L121

You can see that STextDocumentHover is the only "standard" method that is being handled at the moment. All the other functionalities are done via custom methods.

banacorn avatar Dec 21 '23 04:12 banacorn