diff options
author | Ty Dunn <ty@tydunn.com> | 2023-06-29 19:48:14 -0700 |
---|---|---|
committer | Ty Dunn <ty@tydunn.com> | 2023-06-29 19:48:14 -0700 |
commit | 505bf4f6c10058bfe63de76648cc215f71205197 (patch) | |
tree | 9dfe62c06328162050f0746d71bcba762dd23ec9 /extension/src/debugPanel.ts | |
parent | df602177766f643fd4fe0dbed34ffdd91bc50590 (diff) | |
download | sncontinue-505bf4f6c10058bfe63de76648cc215f71205197.tar.gz sncontinue-505bf4f6c10058bfe63de76648cc215f71205197.tar.bz2 sncontinue-505bf4f6c10058bfe63de76648cc215f71205197.zip |
missing things from data collection
Diffstat (limited to 'extension/src/debugPanel.ts')
-rw-r--r-- | extension/src/debugPanel.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/extension/src/debugPanel.ts b/extension/src/debugPanel.ts index 79719a3b..4f3d097c 100644 --- a/extension/src/debugPanel.ts +++ b/extension/src/debugPanel.ts @@ -231,6 +231,7 @@ export function setupDebugPanel( apiUrl: getContinueServerUrl(), sessionId, vscMediaUrl, + dataSwitchOn: vscode.workspace.getConfiguration("continue").get<boolean>("dataSwitch") }); // // Listen for changes to server URL in settings @@ -247,7 +248,13 @@ export function setupDebugPanel( break; } - + case "toggleDataSwitch": { + // Set the setting in vscode + await vscode.workspace + .getConfiguration("continue") + .update("dataSwitch", data.on, vscode.ConfigurationTarget.Global); + break; + } case "websocketForwardingOpen": { let url = data.url; if (typeof websocketConnections[url] === "undefined") { |