Handle the new request in the server
This commit is contained in:
parent
18999c8452
commit
5bc2a5af37
|
|
@ -347,6 +347,11 @@ int runServer(string[] args)
|
|||
s.trySendResponse(symbolSearch(request, cache), "Could not perform symbol search");
|
||||
else if (request.kind & RequestKind.localUse)
|
||||
s.trySendResponse(findLocalUse(request, cache), "Couldnot find local usage");
|
||||
else if (request.kind & RequestKind.inlayHints)
|
||||
{
|
||||
info("Getting inlay hints");
|
||||
s.trySendResponse(getInlayHints(request, cache), "Could not get inlay hints");
|
||||
}
|
||||
else if (needResponse)
|
||||
s.trySendResponse(AutocompleteResponse.ack, "Could not send ack");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue