We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 387996f + 2accbd5 commit 98aee52Copy full SHA for 98aee52
packages/amazonq/src/app/inline/recommendationService.ts
@@ -189,6 +189,9 @@ export class RecommendationService {
189
})
190
191
if (result.items.length > 0 && result.items[0].isInlineEdit === false) {
192
+ if (isTriggerByDeletion) {
193
+ return []
194
+ }
195
// Completion will not be rendered if an edit suggestion has been active for longer than 1 second
196
if (EditSuggestionState.isEditSuggestionDisplayingOverOneSecond()) {
197
const session = this.sessionManager.getActiveSession()
0 commit comments