diff --git a/packages/amazonq/src/lsp/client.ts b/packages/amazonq/src/lsp/client.ts index b28f480e266..43afaa3e515 100644 --- a/packages/amazonq/src/lsp/client.ts +++ b/packages/amazonq/src/lsp/client.ts @@ -339,7 +339,7 @@ async function onLanguageServerReady( // tutorial for inline chat const inlineChatTutorialAnnotation = new InlineChatTutorialAnnotation(inlineTutorialAnnotation) - const enableInlineRollback = false + const enableInlineRollback = true if (enableInlineRollback) { // use VSC inline await activateInline() diff --git a/packages/core/src/codewhisperer/service/inlineCompletionService.ts b/packages/core/src/codewhisperer/service/inlineCompletionService.ts index cc9887adb1f..9edac27657d 100644 --- a/packages/core/src/codewhisperer/service/inlineCompletionService.ts +++ b/packages/core/src/codewhisperer/service/inlineCompletionService.ts @@ -18,7 +18,6 @@ import { getSelectedCustomization } from '../util/customizationUtil' import { codicon, getIcon } from '../../shared/icons' import { session } from '../util/codeWhispererSession' import { noSuggestions } from '../models/constants' -import { Commands } from '../../shared/vscode/commands2' import { listCodeWhispererCommandsId } from '../ui/statusBarMenu' export class InlineCompletionService { @@ -263,11 +262,3 @@ export class CodeWhispererStatusBar { statusBar.show() } } - -/** In this module due to circulare dependency issues */ -export const refreshStatusBar = Commands.declare( - { id: 'aws.amazonq.refreshStatusBar', logging: false }, - () => async () => { - await InlineCompletionService.instance.refreshStatusBar() - } -) diff --git a/packages/core/src/codewhisperer/util/supplementalContext/crossFileContextUtil.ts b/packages/core/src/codewhisperer/util/supplementalContext/crossFileContextUtil.ts index d640aff509a..df06c1771d7 100644 --- a/packages/core/src/codewhisperer/util/supplementalContext/crossFileContextUtil.ts +++ b/packages/core/src/codewhisperer/util/supplementalContext/crossFileContextUtil.ts @@ -194,7 +194,7 @@ export async function fetchProjectContext( editor: vscode.TextEditor, target: 'default' | 'codemap' | 'bm25' ): Promise { - //const inputChunkContent = getInputChunk(editor) + // const inputChunkContent = getInputChunk(editor) // TODO: const inlineProjectContext: { content: string; score: number; filePath: string }[] = []