Trace log openTextDocument (#224962)

Part of #6109
This commit is contained in:
Alex Ross
2024-08-06 18:58:32 +02:00
committed by GitHub
parent ed167f4db7
commit 775e1e9bdf

View File

@@ -1105,6 +1105,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
}
return uriPromise.then(uri => {
extHostLogService.trace(`openTextDocument from ${extension.identifier}`);
if (uri.scheme === Schemas.vscodeRemote && !uri.authority) {
extHostApiDeprecation.report('workspace.openTextDocument', extension, `A URI of 'vscode-remote' scheme requires an authority.`);
}