mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
allow to send onDidChangeInlayHints-event for specific uris, https://github.com/microsoft/vscode/issues/130430
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user