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 5a220d2 commit 8988d1bCopy full SHA for 8988d1b
packages/amazonq/src/app/inline/completion.ts
@@ -258,6 +258,7 @@ export class AmazonQInlineCompletionItemProvider implements InlineCompletionItem
258
// there is a bug in VS Code, when hitting Enter, the context.triggerKind is Invoke (0)
259
// when hitting other keystrokes, the context.triggerKind is Automatic (1)
260
// we only mark option + C as manual trigger
261
+ // this is a workaround since the inlineSuggest.trigger command take no params
262
const isAutoTrigger = performance.now() - vsCodeState.lastManualTriggerTime > 50
263
if (isAutoTrigger && !CodeSuggestionsState.instance.isSuggestionsEnabled()) {
264
// return early when suggestions are disabled with auto trigger
0 commit comments