Comments and logging

This commit is contained in:
Sarah Fortune
2025-08-08 16:40:15 +01:00
parent 5488e3e34a
commit a4b80448da
2 changed files with 2 additions and 5 deletions
-5
View File
@@ -1,6 +1,3 @@
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import * as vscode from "vscode"
import {
migrateCustomInstructionsToGlobalRules,
@@ -29,8 +26,6 @@ export async function initialize(context: vscode.ExtensionContext): Promise<Webv
const distinctId = context.globalState.get<string>("cline.distinctId")
PostHogClientProvider.getInstance(distinctId)
Logger.log("Cline extension activated")
// Migrate custom instructions to global Cline rules (one-time cleanup)
await migrateCustomInstructionsToGlobalRules(context)
+2
View File
@@ -48,6 +48,8 @@ export async function activate(context: vscode.ExtensionContext) {
const sidebarWebview = (await initialize(context)) as VscodeWebviewProvider
Logger.log("Cline extension activated")
const testModeWatchers = await initializeTestMode(sidebarWebview)
// Initialize test mode and add disposables to context
context.subscriptions.push(...testModeWatchers)