File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,12 @@ export async function activate(context: vscode.ExtensionContext) {
115115 context . subscriptions . push ( codeIndexManager )
116116 }
117117
118+ context . subscriptions . push (
119+ vscode . window . registerWebviewViewProvider ( ClineProvider . sideBarId , provider , {
120+ webviewOptions : { retainContextWhenHidden : true } ,
121+ } ) ,
122+ )
123+
118124 // Auto-import configuration if specified in settings
119125 try {
120126 await autoImportSettings ( outputChannel , {
@@ -128,12 +134,6 @@ export async function activate(context: vscode.ExtensionContext) {
128134 )
129135 }
130136
131- context . subscriptions . push (
132- vscode . window . registerWebviewViewProvider ( ClineProvider . sideBarId , provider , {
133- webviewOptions : { retainContextWhenHidden : true } ,
134- } ) ,
135- )
136-
137137 registerCommands ( { context, outputChannel, provider } )
138138
139139 /**
You can’t perform that action at this time.
0 commit comments