-
Hi during the implementation of customized Any way to do this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
If you're interested in how to handle messages about the language server, you can refer to my project, although it is implemented in C#. see: https://github.com/CppCXY/LanguageServer.Framework |
Beta Was this translation helpful? Give feedback.
-
@CppCXY Thanks! Checking the source code adding some TypeAdapter to the gson object here may be enough for my use case. Or after deserializing the resp using the default gson object, I serialize it again and then desrialize to my target class. |
Beta Was this translation helpful? Give feedback.
-
The use case here is for deserializing some heterogenous json msg from the server like |
Beta Was this translation helpful? Give feedback.
-
I find eclipse-lsp4j/lsp4j#768 quite similar to my case too. I will give this a try later |
Beta Was this translation helpful? Give feedback.
-
@onriv where do you need to convert messages? From data of lsp command? From data of lsp code action? Other? |
Beta Was this translation helpful? Give feedback.
-
@angelozerr I am trying to add customizing
and the resp of the api in |
Beta Was this translation helpful? Give feedback.
I find eclipse-lsp4j/lsp4j#768 quite similar to my case too. I will give this a try later