CompletionGenerator class
A generator that will generate a 'completion.getSuggestions' response.
Clients may not extend, implement or mix-in this class.
Constructors
-
CompletionGenerator(List<
CompletionContributor> contributors) - Initialize a newly created completion generator.
Properties
-
contributors
→ List<
CompletionContributor> -
The contributors to be used to generate the completion suggestions.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateCompletionResponse(
CompletionRequest request) → Future< GeneratorResult< CompletionGetSuggestionsResult?> > -
Create a 'completion.getSuggestions' response for the file with the given
path
. If any of the contributors throws an exception, also create a non-fatal 'plugin.error' notification. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited