Skip to content

Commit a2245a1

Browse files
Merge master into feature/LSP-gamma
2 parents 4783049 + 9f42cb0 commit a2245a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/amazonq/src/app/inline/completion.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,9 @@ export class AmazonQInlineCompletionItemProvider implements InlineCompletionItem
391391
}
392392
this.languageClient.sendNotification(this.logSessionResultMessageName, params)
393393
this.sessionManager.clear()
394+
// Do not make auto trigger if user rejects a suggestion
395+
// by typing characters that does not match
396+
return []
394397
}
395398

396399
// tell the tutorial that completions has been triggered

0 commit comments

Comments
 (0)