File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
packages/amazonq/src/app/inline/EditRendering Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ export class EditDecorationManager {
172
172
this . currentRemovedCodeDecorations = [ ]
173
173
this . acceptHandler = undefined
174
174
this . rejectHandler = undefined
175
+ // Clear context to allow normal Tab key behavior
175
176
void setContext ( 'amazonq.editSuggestionActive' as any , false )
176
177
}
177
178
@@ -321,6 +322,7 @@ export async function displaySvgDecoration(
321
322
isInlineEdit : true ,
322
323
}
323
324
languageClient . sendNotification ( 'aws/logInlineCompletionSessionResults' , params )
325
+ decorationManager . dispose ( )
324
326
} ,
325
327
( ) => {
326
328
// Handle reject
@@ -338,6 +340,7 @@ export async function displaySvgDecoration(
338
340
isInlineEdit : true ,
339
341
}
340
342
languageClient . sendNotification ( 'aws/logInlineCompletionSessionResults' , params )
343
+ decorationManager . dispose ( )
341
344
} ,
342
345
originalCode ,
343
346
newCode ,
You can’t perform that action at this time.
0 commit comments