Filter vscode delegate command events (#13832)

This commit is contained in:
Charles Gagnon
2020-12-16 16:58:21 -08:00
committed by GitHub
parent 7f38e87ef3
commit 598aaed500

View File

@@ -33,7 +33,8 @@ export class SqlTelemetryContribution extends Disposable implements IWorkbenchCo
'tab',
'selectNextSuggestion'].some(id => id === e.commandId) &&
// Events from src\vs\editor\contrib\wordOperations\wordOperations.ts
!e.commandId.startsWith('cursor')) {
!e.commandId.startsWith('cursor') &&
!e.commandId.startsWith('_vscode_delegate')) {
telemetryService.sendActionEvent(TelemetryView.Shell, 'adsCommandExecuted', e.commandId);
}
}));