allow to send onDidChangeInlayHints-event for specific uris, https://github.com/microsoft/vscode/issues/130430

This commit is contained in:
Johannes Rieken
2021-10-04 12:17:10 +02:00
parent 9c6de0fb16
commit bbff19b5ba
7 changed files with 15 additions and 9 deletions

View File

@@ -1988,7 +1988,7 @@ export class ExtHostLanguageFeatures implements extHostProtocol.ExtHostLanguageF
let result = this._createDisposable(handle);
if (eventHandle !== undefined) {
const subscription = provider.onDidChangeInlayHints!(_ => this._proxy.$emitInlayHintsEvent(eventHandle));
const subscription = provider.onDidChangeInlayHints!(uri => this._proxy.$emitInlayHintsEvent(eventHandle, uri));
result = Disposable.from(result, subscription);
}
return result;