Package io.deephaven.lang.completion
Class DelegatingCompletionHandler
java.lang.Object
io.deephaven.lang.completion.DelegatingCompletionHandler
- All Implemented Interfaces:
CompletionHandler
Allows you to join multiple completion handlers together, and coalesce the final results.
In the future, we will better log which handlers provided which completions. We may also simply call the different
handlers in a different manner, when the v2 implementation api changes to better support the ChunkerDocument model
(and pushing results to client directly), rendering this class obsolete.
NOTE: This class is not currently in use, since the coalesced results wound up causing ugly duplications with
different whitespace. We will delete it after merging, to have it in git history, in case we decide to revive it
later.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DelegatingCompletionHandler
-
-
Method Details
-
runCompletion
public Collection<CompletionItem.Builder> runCompletion(ParsedDocument doc, Position pos, int offset) - Specified by:
runCompletion
in interfaceCompletionHandler
-