CompletionProvider
Interface producing autocompletion proposals based on editor cursor context.
Overview
CompletionProvider inspects the document text and caret offset in CompletionContext to generate a list of candidate CompletionItem choices.
API
CompletionProvider::complete(CompletionContext)
Compute Completions
Generates completion items for current cursor context.
| Parameter | Type | Description |
|---|---|---|
context |
CompletionContext |
— |
Returns List.