Interface InlineCompletionsProvider<T>
Methods
freeInlineCompletions
- freeInlineCompletions(completions): void
Returns void
Optional
handleItemDidShow
- handleItemDidShow(completions, item): void
Parameters
- completions: T
- item: T["items"][number]
Returns void
provideInlineCompletions
- provideInlineCompletions(model, position, context, token): undefined | T[] | Thenable<undefined | T[]>
Returns undefined | T[] | Thenable<undefined | T[]>
Will be called when a completions list is no longer in use and can be garbage-collected.