use of org.eclipse.xtext.ide.server.signatureHelp.ISignatureHelpService in project xtext-core by eclipse.
the class LanguageServerImpl method signatureHelp.
/**
* Compute the signature help. Executed in a read request.
* @since 2.20
*/
protected SignatureHelp signatureHelp(SignatureHelpParams params, CancelIndicator cancelIndicator) {
URI uri = getURI(params);
ISignatureHelpService helper = getService(uri, ISignatureHelpService.class);
if (helper == null) {
return ISignatureHelpService.EMPTY;
}
return workspaceManager.doRead(uri, (doc, resource) -> helper.getSignatureHelp(doc, resource, params, cancelIndicator));
}
Aggregations