Updates inline completion provider API docs and renames selectedSuggestionInfo to selectedCompletionInfo.

This commit is contained in:
Henning Dieterichs
2021-08-26 12:05:15 +02:00
parent 25f89666dc
commit aeb8b4be9a
2 changed files with 16 additions and 9 deletions

View File

@@ -1038,7 +1038,7 @@ class InlineCompletionAdapter {
const pos = typeConvert.Position.to(position);
const result = await this._provider.provideInlineCompletionItems(doc, pos, {
selectedSuggestionInfo:
selectedCompletionInfo:
context.selectedSuggestionInfo
? {
range: typeConvert.Range.to(context.selectedSuggestionInfo.range),