aws / aws/aws-toolkit-vscode

Unable to view DIFF from Amazon Q Developer IDE on Visual Studio Code

Open
#8,045 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem

## Steps to reproduce the issue

1. Launch Q on Visual Studio in agent mode
2. create a prompt like "Document project"
3. Q starts to process the request and then Q give an update saying "Updating doc Readme..." then you get a change bock

Image
4. When you click on the Readme or any other file that has changed you get an error

Image

Image

-->

## Expected behavior
No error and you should be able to see the DIFF between the original and the change that Q made to the code

Early last we this was working fine, however towards end of the week this started to display, I can confirm it's not just me other users have the same issue.

All plugins disbles and even complete reinstall and full reset including registry was tried, but same issue across multiple windows machines.

Worth noting that on Mac OS visual studio code worked fine and did not have this problem.

Logs point to how amazon Q is passing over the DIFF to git

## System details (run `AWS: About` and/or `Amazon Q: About`)

- OS: Windows 11 x64 10.0.26100
- Visual Studio Code version:1.104.0
- AWS Toolkit version: 3.74.0
- Amazon Q version: 1.94.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the diff-view error on Windows 11 x64 with the listed VS Code, AWS Toolkit, and Amazon Q versions, then compare the same workflow on macOS. Use the failure context around Amazon Q passing the diff to git; done means clicking changed files opens a diff without an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.