Skip to content

Commit 6f85ea0

Browse files
committed
Enable manual calls even when auto-suggestions are paused
1 parent 617ec0f commit 6f85ea0

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +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 (event.isManualCall()) return true
595596
if (!CodeWhispererExplorerActionManager.getInstance().isAutoEnabled()) return false
596597
if (QRegionProfileManager.getInstance().hasValidConnectionButNoActiveProfile(project)) return false
597598
return true

0 commit comments

Comments
 (0)