@@ -54,10 +54,13 @@ export const activate = async (context: vscode.ExtensionContext) => {
5454 StateManager . globalState = context . globalState
5555 StateManager . workspaceState = context . workspaceState
5656
57- await utils . checkForWorkspaceFolders ( )
57+ utils . showDebugOutput ( 'DevCycle extension activating' )
5858
59+ await utils . checkForWorkspaceFolders ( )
5960 void cliUtils . loadCli ( )
6061
62+ utils . showDebugOutput ( 'DevCycle CLI loaded' )
63+
6164 if ( ! StateManager . getGlobalState ( KEYS . SEND_METRICS_PROMPTED ) ) {
6265 const sendMetricsMessage = `DevCycle collects usage metrics to gather information on feature adoption, usage, and frequency.
6366 By clicking "Accept", you consent to the collection of this data. Would you like to opt-in?`
@@ -78,13 +81,13 @@ export const activate = async (context: vscode.ExtensionContext) => {
7881 await StateManager . setGlobalState ( KEYS . EXTENSION_INSTALLED , true )
7982 }
8083
84+ utils . showDebugOutput ( 'Registering View Providers' )
8185 await registerStartupViewProvider ( context )
8286 await registerLoginViewProvider ( context )
8387 const { usagesDataProvider, usagesTreeView } =
8488 await registerUsagesViewProvider ( context )
85- const environmentsDataProvider = await registerEnvironmentsViewProvider (
86- context ,
87- )
89+ const environmentsDataProvider =
90+ await registerEnvironmentsViewProvider ( context )
8891 const inspectorViewProvider = await registerInspectorViewProvider ( context )
8992 const homeViewProvider = await registerHomeViewProvider ( context )
9093 const refreshProviders : (
@@ -190,6 +193,8 @@ export const activate = async (context: vscode.ExtensionContext) => {
190193 const foldersToRefresh = [ ...event . added , ...event . removed ]
191194 await loginAndRefresh ( [ ...foldersToRefresh ] , true )
192195 } )
196+
197+ utils . showDebugOutput ( 'DevCycle extension activated' )
193198}
194199
195200export function deactivate ( ) { }
0 commit comments