Skip to content

Commit 317c1ca

Browse files
author
aws-toolkit-automation
committed
Merge release into master
2 parents bd305c3 + 57ca1b7 commit 317c1ca

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Avoid refreshing code suggestion for paginated response"
4+
}

packages/core/src/codewhisperer/service/recommendationHandler.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,9 +656,7 @@ export class RecommendationHandler {
656656
return
657657
}
658658
if (this.isSuggestionVisible()) {
659-
// to force refresh the visual cue so that the total recommendation count can be updated
660-
// const index = this.inlineCompletionProvider?.getActiveItemIndex
661-
await this.showRecommendation(0, false)
659+
// do not force refresh the tooltip to avoid suggestion "flashing"
662660
return
663661
}
664662
if (

0 commit comments

Comments
 (0)