aws / aws/aws-toolkit-vscode

File editor preview is not working in VSCode for Q version 1.94.0

Open
#8,065 5 comments 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. Go to chat, ask the agent to make some code changes
2. Agent responds in the chat with the list of files and the no of additions/deletions per file
3. On clicking the file name, usually the file shows changes (additions/deletions) done, but it is displays the below error message:
"The editor could not be opened due to an unexpected error. Please consult the log for more details."
-->

## Expected behavior
the file shows changes (additions/deletions) done by the agent.

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

- OS: Windows
- 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

Reproduce the failure in VSCode on Windows using Amazon Q 1.94.0 and the listed AWS Toolkit and VSCode versions. Start from a chat request that produces file changes, then click a file name and consult the VSCode log for the unexpected error. Done means the file opens and displays the agent's additions and deletions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.