Skip to content

Commit 9dd8a88

Browse files
authored
fix(codewhisperer): do not clear recommendation if visible #3164
1 parent aa5b158 commit 9dd8a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codewhisperer/service/inlineCompletionService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ export class InlineCompletionService {
354354
config: ConfigurationEntry,
355355
autoTriggerType?: CodewhispererAutomatedTriggerType
356356
) {
357-
if (vsCodeState.isCodeWhispererEditing || this._isPaginationRunning) {
357+
if (vsCodeState.isCodeWhispererEditing || this._isPaginationRunning || this.isSuggestionVisible()) {
358358
return
359359
}
360360
await this.clearInlineCompletionStates(editor)

0 commit comments

Comments
 (0)