Interface ICodeAutocompleter
OptimaJet.Workflow.Core.Runtime.CodeAutocomplete.ICodeAutocompleter
Provides an abstraction for components that can provide code completion suggestions.
Namespace: OptimaJet.Workflow.Core.Runtime.CodeAutocomplete
public interface ICodeAutocompleterProperties
Name
Type
AutocompleterName #StringGets the unique name of the autocompleter.
Initialized #BooleanGets a value indicating whether the autocompleter has completed initialization.
Methods
HashSet<AutocompleteItem> Get(string pattern, IEnumerable<string> usings, IEnumerable<AutocompleteVariable> variables) #Gets completion suggestions that match the provided search pattern.
Parameters
Name
Type
Description
patternStringText to match, for example
System.Thr.usingsIEnumerable<String>Namespaces currently in scope, such as
System or System.Threading.variablesIEnumerable<AutocompleteVariable>Variables available for completion candidate generation.
Returns
Type
Description
HashSet<AutocompleteItem>A set of matching autocomplete items.
void InitIfNotInitialized() #Initializes the autocompleter if it has not yet been initialized.
void AddVariables(IEnumerable<AutocompleteVariable> variables) #Adds additional variables to the autocomplete index.
Parameters
Name
Type
Description
variablesIEnumerable<AutocompleteVariable>Variables to include in completion suggestions.