We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81c0a6 commit a7d0e19Copy full SHA for a7d0e19
packages/amazonq/src/app/inline/completion.ts
@@ -265,6 +265,9 @@ export class AmazonQInlineCompletionItemProvider implements InlineCompletionItem
265
const prefix = document.getText(new Range(prevStartPosition, position))
266
const prevItemMatchingPrefix = []
267
for (const item of this.sessionManager.getActiveRecommendation()) {
268
+ if (item.isInlineEdit) {
269
+ break
270
+ }
271
const text = typeof item.insertText === 'string' ? item.insertText : item.insertText.value
272
if (text.startsWith(prefix) && position.isAfterOrEqual(prevStartPosition)) {
273
item.command = {
0 commit comments