Skip to content

Commit 2aa9427

Browse files
authored
Remove survey code (#381)
* remove survey code
1 parent 25805cb commit 2aa9427

File tree

6 files changed

+0
-181
lines changed

6 files changed

+0
-181
lines changed

src/client/extension.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { registerTypes as commonRegisterTypes } from './common/serviceRegistry';
1313
import { GLOBAL_MEMENTO, IDiposableRegistry, IMemento, IOutputChannel, IPersistentStateFactory, WORKSPACE_MEMENTO } from './common/types';
1414
import { registerTypes as variableRegisterTypes } from './common/variables/serviceRegistry';
1515
import { SimpleConfigurationProvider } from './debugger';
16-
import { FeedbackService } from './feedback';
1716
import { InterpreterManager } from './interpreter';
1817
import { SetInterpreterProvider } from './interpreter/configuration/setInterpreterProvider';
1918
import { ShebangCodeLensProvider } from './interpreter/display/shebangCodeLensProvider';
@@ -169,8 +168,6 @@ export async function activate(context: vscode.ExtensionContext) {
169168
context.subscriptions.push(vscode.debug.registerDebugConfigurationProvider('python', new SimpleConfigurationProvider()));
170169
activationDeferred.resolve();
171170

172-
const feedbackService = new FeedbackService(persistentStateFactory);
173-
context.subscriptions.push(feedbackService);
174171
// tslint:disable-next-line:no-unused-expression
175172
new BannerService(persistentStateFactory);
176173

src/client/feedback/counters.ts

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/client/feedback/feedbackService.ts

Lines changed: 0 additions & 115 deletions
This file was deleted.

src/client/feedback/index.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/client/telemetry/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ export const UNITTEST_STOP = 'UNITTEST.STOP';
2929
export const UNITTEST_RUN = 'UNITTEST.RUN';
3030
export const UNITTEST_DISCOVER = 'UNITTEST.DISCOVER';
3131
export const UNITTEST_VIEW_OUTPUT = 'UNITTEST.VIEW_OUTPUT';
32-
export const FEEDBACK = 'FEEDBACK';

src/client/telemetry/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
'use strict';
5-
6-
import { commands } from 'vscode';
74
import { StopWatch } from './stopWatch';
85
import { getTelemetryReporter } from './telemetry';
96
import { TelemetryProperties } from './types';
@@ -22,7 +19,6 @@ export function sendTelemetryEvent(eventName: string, durationMs?: number, prope
2219
(customProperties as any)[prop] = typeof data[prop] === 'string' ? data[prop] : data[prop].toString();
2320
});
2421
}
25-
commands.executeCommand('python.updateFeedbackCounter', eventName);
2622
reporter.sendTelemetryEvent(eventName, properties ? customProperties : undefined, measures);
2723
}
2824

0 commit comments

Comments
 (0)