File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/amazonq/src/app/inline Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ import {
4141import { LineTracker } from './stateTracker/lineTracker'
4242import { InlineTutorialAnnotation } from './tutorials/inlineTutorialAnnotation'
4343import { TelemetryHelper } from './telemetryHelper'
44- import { Experiments , getLogger , sleep } from 'aws-core-vscode/shared'
44+ import { Experiments , getContext , getLogger , sleep } from 'aws-core-vscode/shared'
4545import { messageUtils } from 'aws-core-vscode/utils'
4646import { EditsSuggestionSvg } from './EditRendering/imageRenderer'
4747import { ICursorUpdateRecorder } from './cursorUpdateManager'
@@ -350,6 +350,10 @@ export class AmazonQInlineCompletionItemProvider implements InlineCompletionItem
350350 return [ ]
351351 }
352352
353+ if ( getContext ( 'aws.amazonq.editSuggestionActive' ) === true ) {
354+ return [ ]
355+ }
356+
353357 // there is a bug in VS Code, when hitting Enter, the context.triggerKind is Invoke (0)
354358 // when hitting other keystrokes, the context.triggerKind is Automatic (1)
355359 // we only mark option + C as manual trigger
You can’t perform that action at this time.
0 commit comments