Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan Ramos <lramos15@gmail.com>2022-02-04 22:33:20 +0300
committerLogan Ramos <lramos15@gmail.com>2022-02-04 22:34:09 +0300
commit7cde1becc6ff7cf31e3f950c390566a5c36a8479 (patch)
tree96f56bba5f6e2ddc8f0e6e50c8d1191dafbb7eb7 /src/vs/workbench/contrib/extensions/common
parent90c05fae896a4d10e68a2e77acd2e9a96559dd7c (diff)
Huge telemetry reduction 🎉
Diffstat (limited to 'src/vs/workbench/contrib/extensions/common')
-rw-r--r--src/vs/workbench/contrib/extensions/common/extensionsUtils.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/vs/workbench/contrib/extensions/common/extensionsUtils.ts b/src/vs/workbench/contrib/extensions/common/extensionsUtils.ts
index 4d45de8f605..b822f481e8c 100644
--- a/src/vs/workbench/contrib/extensions/common/extensionsUtils.ts
+++ b/src/vs/workbench/contrib/extensions/common/extensionsUtils.ts
@@ -7,7 +7,6 @@ import { localize } from 'vs/nls';
import { Event } from 'vs/base/common/event';
import { onUnexpectedError } from 'vs/base/common/errors';
import { Disposable } from 'vs/base/common/lifecycle';
-import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
import { IExtensionManagementService, ILocalExtension, IExtensionIdentifier, InstallOperation } from 'vs/platform/extensionManagement/common/extensionManagement';
import { IWorkbenchExtensionEnablementService, EnablementState } from 'vs/workbench/services/extensionManagement/common/extensionManagement';
import { IExtensionRecommendationsService } from 'vs/workbench/services/extensionRecommendations/common/extensionRecommendations';
@@ -31,7 +30,6 @@ export class KeymapExtensions extends Disposable implements IWorkbenchContributi
@IExtensionRecommendationsService private readonly tipsService: IExtensionRecommendationsService,
@ILifecycleService lifecycleService: ILifecycleService,
@INotificationService private readonly notificationService: INotificationService,
- @ITelemetryService private readonly telemetryService: ITelemetryService,
) {
super();
this._register(lifecycleService.onDidShutdown(() => this.dispose()));
@@ -57,19 +55,6 @@ export class KeymapExtensions extends Disposable implements IWorkbenchContributi
private promptForDisablingOtherKeymaps(newKeymap: IExtensionStatus, oldKeymaps: IExtensionStatus[]): void {
const onPrompt = (confirmed: boolean) => {
- const telemetryData: { [key: string]: any } = {
- newKeymap: newKeymap.identifier,
- oldKeymaps: oldKeymaps.map(k => k.identifier),
- confirmed
- };
- /* __GDPR__
- "disableOtherKeymaps" : {
- "newKeymap": { "${inline}": [ "${ExtensionIdentifier}" ] },
- "oldKeymaps": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
- "confirmed" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true }
- }
- */
- this.telemetryService.publicLog('disableOtherKeymaps', telemetryData);
if (confirmed) {
this.extensionEnablementService.setEnablement(oldKeymaps.map(keymap => keymap.local), EnablementState.DisabledGlobally);
}