Refactors the inline completion feature.

This commit is contained in:
Henning Dieterichs
2021-05-21 19:40:38 +02:00
parent 9086ecd9f0
commit 231c155d31
11 changed files with 685 additions and 712 deletions

View File

@@ -1066,7 +1066,7 @@ class InlineCompletionsAdapter {
return {
items: result.items.map(item => ({
text: item.text,
replaceRange: item.range ? typeConvert.Range.from(item.range) : undefined,
range: item.range ? typeConvert.Range.from(item.range) : undefined,
})),
};
}