mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-13 09:14:37 +01:00
# Add partial accept kind to inline completion handle (#202668)
* # Add partial accept kind to inline completion handle --------- Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
This commit is contained in:
co-authored by
Henning Dieterichs
parent
1fff44a284
commit
0bfc1dbb62
@@ -601,9 +601,9 @@ export class MainThreadLanguageFeatures extends Disposable implements MainThread
|
||||
await this._proxy.$handleInlineCompletionDidShow(handle, completions.pid, item.idx, updatedInsertText);
|
||||
}
|
||||
},
|
||||
handlePartialAccept: async (completions, item, acceptedCharacters): Promise<void> => {
|
||||
handlePartialAccept: async (completions, item, acceptedCharacters, info: languages.PartialAcceptInfo): Promise<void> => {
|
||||
if (supportsHandleEvents) {
|
||||
await this._proxy.$handleInlineCompletionPartialAccept(handle, completions.pid, item.idx, acceptedCharacters);
|
||||
await this._proxy.$handleInlineCompletionPartialAccept(handle, completions.pid, item.idx, acceptedCharacters, info);
|
||||
}
|
||||
},
|
||||
freeInlineCompletions: (completions: IdentifiableInlineCompletions): void => {
|
||||
|
||||
Reference in New Issue
Block a user