mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-26 18:27:38 +01:00
replace InlayHintsProviderRegistry with service property
This commit is contained in:
@@ -598,7 +598,7 @@ export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesSha
|
||||
provider.onDidChangeInlayHints = emitter.event;
|
||||
}
|
||||
|
||||
this._registrations.set(handle, modes.InlayHintsProviderRegistry.register(selector, provider));
|
||||
this._registrations.set(handle, this._languageFeaturesService.inlayHintsProvider.register(selector, provider));
|
||||
}
|
||||
|
||||
$emitInlayHintsEvent(eventHandle: number): void {
|
||||
|
||||
Reference in New Issue
Block a user