some API 💄 (#169404)

* some API 💄

* New names

Co-authored-by: Logan Ramos <lramos15@gmail.com>
This commit is contained in:
Johannes Rieken
2023-01-03 16:46:20 +01:00
committed by GitHub
parent 2377c7a4c5
commit 64eef4cec1
12 changed files with 128 additions and 70 deletions

View File

@@ -43,7 +43,7 @@ import { ExtHostEditors } from 'vs/workbench/api/common/extHostTextEditors';
import { ExtHostTreeViews } from 'vs/workbench/api/common/extHostTreeViews';
import * as typeConverters from 'vs/workbench/api/common/extHostTypeConverters';
import * as extHostTypes from 'vs/workbench/api/common/extHostTypes';
import { TrustedTelemetryValue } from 'vs/platform/telemetry/common/telemetryUtils';
import { TelemetryTrustedValue } from 'vs/platform/telemetry/common/telemetryUtils';
import { ExtHostUrls } from 'vs/workbench/api/common/extHostUrls';
import { ExtHostWebviews } from 'vs/workbench/api/common/extHostWebview';
import { IExtHostWindow } from 'vs/workbench/api/common/extHostWindow';
@@ -334,7 +334,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
get isNewAppInstall() {
return isNewAppInstall(initData.telemetryInfo.firstSessionDate);
},
createTelemetryLogger(appender: vscode.TelemetryAppender): vscode.TelemetryLogger {
createTelemetryLogger(appender: vscode.TelemetrySender): vscode.TelemetryLogger {
checkProposedApiEnabled(extension, 'telemetryLogger');
return extHostTelemetry.instantiateLogger(extension, appender);
},
@@ -1394,7 +1394,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
TabInputWebview: extHostTypes.WebviewEditorTabInput,
TabInputTerminal: extHostTypes.TerminalEditorTabInput,
TabInputInteractiveWindow: extHostTypes.InteractiveWindowInput,
TrustedTelemetryValue: TrustedTelemetryValue,
TelemetryTrustedValue: TelemetryTrustedValue,
LogLevel: LogLevel,
EditSessionIdentityMatch: EditSessionIdentityMatch
};