Skip to content

Commit 9647ba8

Browse files
committed
docs: add comments for missing features
1 parent 47d98ca commit 9647ba8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/amazonq/src/inlineChat/controller/inlineChatController.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,14 @@ export class InlineChatController {
249249
return
250250
}
251251

252+
// Update inline diff view
252253
const textDiff = computeDiff(response.body, this.task, false)
253254
const decorations = computeDecorations(this.task)
254255
this.task.decorations = decorations
255256
await this.applyDiff(this.task, textDiff ?? [])
256257
this.decorator.applyDecorations(this.task)
258+
259+
// Update Codelenses
257260
await this.updateTaskAndLenses(this.task, TaskState.WaitingForDecision)
258261
await setContext('amazonq.inline.codelensShortcutEnabled', true)
259262
this.undoListener(this.task)

packages/amazonq/src/inlineChat/provider/inlineChatProvider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export class InlineChatProvider {
6969
}
7070

7171
public async processPromptMessageLSP(message: PromptMessage): Promise<InlineChatResult> {
72+
// TODO: handle partial responses.
7273
getLogger().info('Making inline chat request with message %O', message)
7374
const params = this.getCurrentEditorParams(message.message ?? '')
7475
const inlineChatRequest = await encryptRequest<InlineChatParams>(params, this.encryptionKey)

0 commit comments

Comments
 (0)