mirror of
https://github.com/cline/cline.git
synced 2026-09-15 21:04:27 +08:00
Comments and logging
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user