-
Notifications
You must be signed in to change notification settings - Fork 737
feat(amazonq): Add inline chat #5835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This pull request modifies code in src/ but no tests were added/updated. Confirm whether tests should be added or ensure the PR description explains why tests are not required. |
|
This pull request implements a feature or fix, so it must include a changelog entry. See CONTRIBUTING.md#changelog for instructions. |
| import * as vscode from 'vscode' | ||
| import { InlineTask, TextDiff } from '../controller/inlineTask' | ||
|
|
||
| export function computeDiff(response: string, inlineTask: InlineTask, isPartialDiff: boolean): TextDiff[] | undefined { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ivikash is there diff-related code on master or some other branch that might overlap with this module?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existing implementation generates a diff by
- Creating a temporary clone of the file in
tempDir - Overwriting the selected Range with the new code.
Trying to reuse the same logic, here will make it more complicated instead.
|
@justinmk3 what are next steps to merge this? |
|
This needs a changelog item. |
packages/amazonq/src/inlineChat/controller/inlineChatController.ts
Outdated
Show resolved
Hide resolved
Re-syncs icons after discrepancy in #5835 --- <!--- REMINDER: Ensure that your PR meets the guidelines in CONTRIBUTING.md --> License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem
Adds inline chat to Amazon Q
Solution
License: I confirm that my contribution is made under the terms of the Apache 2.0 license.