Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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" : "Skip inline completion when deleting characters"
}
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,14 @@ class QInlineCompletionProvider(private val cs: CoroutineScope) : InlineCompleti
CodeWhispererInvocationStatus.getInstance().setIsInvokingQInline(session, false)
}

if (request.event is InlineCompletionEvent.Backspace) {
logInline(triggerSessionId) {
"Skip inline completion when deleting"
}
return InlineCompletionSuggestion.Empty
}


val sessionContext = InlineCompletionSessionContext(triggerOffset = request.endOffset)

// Pagination workaround: Always return exactly 5 variants
Expand Down
Loading