summaryrefslogtreecommitdiff
path: root/extension/src/continueIdeClient.ts
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-21 19:55:08 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-21 19:55:08 -0700
commit64a36f5c91f13d0098a9651d39a90a17b4aad1fd (patch)
treef96a1fd2be1a69f19e5f0d8b78361c9f448ed6b1 /extension/src/continueIdeClient.ts
parenta87e66758731a9e76c9c394dc2190b9882ddbceb (diff)
downloadsncontinue-64a36f5c91f13d0098a9651d39a90a17b4aad1fd.tar.gz
sncontinue-64a36f5c91f13d0098a9651d39a90a17b4aad1fd.tar.bz2
sncontinue-64a36f5c91f13d0098a9651d39a90a17b4aad1fd.zip
remove Segment telemetry from React
Diffstat (limited to 'extension/src/continueIdeClient.ts')
-rw-r--r--extension/src/continueIdeClient.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/extension/src/continueIdeClient.ts b/extension/src/continueIdeClient.ts
index 3a42e773..802afc1d 100644
--- a/extension/src/continueIdeClient.ts
+++ b/extension/src/continueIdeClient.ts
@@ -16,7 +16,6 @@ import fs = require("fs");
import { WebsocketMessenger } from "./util/messenger";
import { diffManager } from "./diffs";
import path = require("path");
-import { sendTelemetryEvent, TelemetryEvent } from "./telemetry";
import { registerAllCodeLensProviders } from "./lang-server/codeLens";
import { registerAllCommands } from "./commands";
import registerQuickFixProvider from "./lang-server/codeActions";
@@ -81,7 +80,6 @@ class IdeProtocolClient {
this._newWebsocketMessenger();
// Register commands and providers
- sendTelemetryEvent(TelemetryEvent.ExtensionActivated);
registerAllCodeLensProviders(context);
registerAllCommands(context);
registerQuickFixProvider();
@@ -171,14 +169,16 @@ class IdeProtocolClient {
// Listen for changes to settings.json
vscode.workspace.onDidChangeConfiguration((event) => {
if (event.affectsConfiguration("continue")) {
- vscode.window.showInformationMessage(
- "Please reload VS Code for changes to Continue settings to take effect.",
- "Reload"
- ).then((selection) => {
- if (selection === "Reload") {
- vscode.commands.executeCommand("workbench.action.reloadWindow");
- }
- });
+ vscode.window
+ .showInformationMessage(
+ "Please reload VS Code for changes to Continue settings to take effect.",
+ "Reload"
+ )
+ .then((selection) => {
+ if (selection === "Reload") {
+ vscode.commands.executeCommand("workbench.action.reloadWindow");
+ }
+ });
}
});
}