Skip to content

Commit 8be1a65

Browse files
committed
fix(amazonq): Disable auto-suggestions when paused in the status bar widget
1 parent 5335ed8 commit 8be1a65

File tree

1 file changed

+1
-1
lines changed
  • plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/popup

1 file changed

+1
-1
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/popup/QInlineCompletionProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ class QInlineCompletionProvider(private val cs: CoroutineScope) : InlineCompleti
592592
val project = editor.project ?: return false
593593

594594
if (!isQConnected(project)) return false
595-
if (!CodeWhispererExplorerActionManager.getInstance().isAutoEnabled() && event.isManualCall()) return false
595+
if (!CodeWhispererExplorerActionManager.getInstance().isAutoEnabled()) return false
596596
if (QRegionProfileManager.getInstance().hasValidConnectionButNoActiveProfile(project)) return false
597597
return true
598598
}

0 commit comments

Comments
 (0)