Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion packages/amazonq/src/lsp/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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()
}
)
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export async function fetchProjectContext(
editor: vscode.TextEditor,
target: 'default' | 'codemap' | 'bm25'
): Promise<CodeWhispererSupplementalContextItem[]> {
//const inputChunkContent = getInputChunk(editor)
// const inputChunkContent = getInputChunk(editor)
// TODO:
const inlineProjectContext: { content: string; score: number; filePath: string }[] = []

Expand Down
Loading