mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
Adds support for snippets in inline completions (fixes #138260)
This commit is contained in:
@@ -1083,7 +1083,7 @@ class InlineCompletionAdapter {
|
||||
throw new Error('text or insertText must be defined');
|
||||
}
|
||||
return ({
|
||||
text: insertText,
|
||||
text: typeof insertText === 'string' ? insertText : { snippet: insertText.value },
|
||||
range: item.range ? typeConvert.Range.from(item.range) : undefined,
|
||||
command,
|
||||
idx: idx,
|
||||
|
||||
Reference in New Issue
Block a user