File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " hai-build-code-generator " : patch
3+ ---
4+
5+ Fixed inline edit not working after cline latest merge (v3.8.6)
Original file line number Diff line number Diff line change @@ -257,14 +257,11 @@ export function activate(context: vscode.ExtensionContext) {
257257 }
258258 context . subscriptions . push ( vscode . window . registerUriHandler ( { handleUri } ) )
259259
260- const inlineEditingInstance = WebviewProvider . getVisibleInstance ( )
261- if ( inlineEditingInstance ) {
262- getAllExtensionState ( inlineEditingInstance . controller . context , getWorkspaceID ( ) || "" ) . then ( ( { apiConfiguration } ) => {
263- context . subscriptions . push (
264- ...new InlineEditingProvider ( ) . withContext ( context ) . withApiConfiguration ( apiConfiguration ) . build ( ) ,
265- )
266- } )
267- }
260+ getAllExtensionState ( sidebarWebview . controller . context , getWorkspaceID ( ) || "" ) . then ( ( { apiConfiguration } ) => {
261+ context . subscriptions . push (
262+ ...new InlineEditingProvider ( ) . withContext ( context ) . withApiConfiguration ( apiConfiguration ) . build ( ) ,
263+ )
264+ } )
268265
269266 context . subscriptions . push (
270267 vscode . commands . registerCommand ( "hai.haiBuildTaskListClicked" , ( webview : any ) => {
You can’t perform that action at this time.
0 commit comments