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

@@ -505,7 +505,7 @@ export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesSha
return this._proxy.$provideInlineCompletions(handle, model.uri, position, context, token);
}
};
this._registrations.set(handle, modes.InlineSuggestionsProviderRegistry.register(selector, provider));
this._registrations.set(handle, modes.InlineCompletionsProviderRegistry.register(selector, provider));
}
// --- parameter hints