Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type" : "bugfix",
"description" : "Fix auto-suggestions being shown when suggestions are paused"
}
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,10 @@ class QInlineCompletionProvider(private val cs: CoroutineScope) : InlineCompleti
val project = editor.project ?: return false

if (!isQConnected(project)) return false
if (!CodeWhispererExplorerActionManager.getInstance().isAutoEnabled() && event.isManualCall()) return false
if (QRegionProfileManager.getInstance().hasValidConnectionButNoActiveProfile(project)) return false
if (event.isManualCall()) return true
if (!CodeWhispererExplorerActionManager.getInstance().isAutoEnabled()) return false

return true
}
}
Loading