You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently i'm trying to create a lsp cli client for my student project. I'm dialoging with the clang language server clangd. I'm trying using your lsp types libraries but when i'm trying to get a hover result from the language server. I'm getting a null value but the language server give a result.
{
"id":4,
"jsonrpc":"2.0",
"result":{
"contents":{
"kind":"plaintext",
"value":"Declared in global namespace\n\nint square(int x)"
}
}
}
I found the result given by clangd on my request and i found out the data Hover doesn't match the case where contents is MarkupContent.
Hello.
Currently i'm trying to create a lsp cli client for my student project. I'm dialoging with the clang language server
clangd
. I'm trying using your lsp types libraries but when i'm trying to get ahover
result from the language server. I'm getting a null value but the language server give a result.I found the result given by
clangd
on my request and i found out the dataHover
doesn't match the case wherecontents
isMarkupContent
.I create an edited
hover
data type to match this case.I want to know if it's the right way to make it ?
Thank you.
The text was updated successfully, but these errors were encountered: