Package io.deephaven.lang.completion
Class DelegatingCustomCompletion
java.lang.Object
io.deephaven.lang.completion.DelegatingCustomCompletion
- All Implemented Interfaces:
CustomCompletion
Creates all specified implementation, and sends all queries to each as necessary.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.lang.completion.CustomCompletion
CustomCompletion.Factory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
methodArgumentCompletion
(ChunkerCompleter completer, ChunkerInvoke node, Node replaceNode, CompletionRequest request, ChunkerCompleter.SearchDirection direction, Collection<CompletionItem.Builder> results) User's cursor is within the method arguments, provide autocomplete suggestions for cursor position.resolveScopeType
(IsScope scope) Return the type of the scoped value if known.resolveTableDefinition
(ChunkerInvoke invoke, CompletionRequest offset) Returns the definition of the table that would be created by the method call if known.
-
Constructor Details
-
DelegatingCustomCompletion
-
-
Method Details
-
methodArgumentCompletion
public void methodArgumentCompletion(ChunkerCompleter completer, ChunkerInvoke node, Node replaceNode, CompletionRequest request, ChunkerCompleter.SearchDirection direction, Collection<CompletionItem.Builder> results) Description copied from interface:CustomCompletion
User's cursor is within the method arguments, provide autocomplete suggestions for cursor position.- Specified by:
methodArgumentCompletion
in interfaceCustomCompletion
-
resolveScopeType
Description copied from interface:CustomCompletion
Return the type of the scoped value if known.- Specified by:
resolveScopeType
in interfaceCustomCompletion
-
resolveTableDefinition
public Optional<TableDefinition> resolveTableDefinition(ChunkerInvoke invoke, CompletionRequest offset) Description copied from interface:CustomCompletion
Returns the definition of the table that would be created by the method call if known.- Specified by:
resolveTableDefinition
in interfaceCustomCompletion
-