public class SignatureHelpUtil extends Object
Constructor and Description |
---|
SignatureHelpUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
captureCallableItemInfo(org.eclipse.lsp4j.Position position,
String fileContent,
LSServiceOperationContext serviceContext)
Capture the callable item information such as name, package of the item, delimiter (.
|
static org.eclipse.lsp4j.SignatureHelp |
getFunctionSignatureHelp(LSServiceOperationContext context)
Get the functionSignatureHelp instance.
|
public static void captureCallableItemInfo(org.eclipse.lsp4j.Position position, String fileContent, LSServiceOperationContext serviceContext)
position
- Position of the signature help triggeredfileContent
- File content to search callable item nameserviceContext
- Text Document service context instance for the signature help operationpublic static org.eclipse.lsp4j.SignatureHelp getFunctionSignatureHelp(LSServiceOperationContext context)
context
- Signature help contextSignatureHelp
Signature help for the completionCopyright © 2018 WSO2. All rights reserved.