You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(amazonq): use current file content to calculate highlighted ranges (#7792)
## Problem
The unifiedDiff from suggestionResponse is outdated due to the change of
context, resulting to the wrong line getting highlighted while
rendering.
## Solution
Calculate the addedLines and removedLines using the current code content
and new code suggestion.
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
0 commit comments