aws / aws/aws-toolkit-vscode

Amazon Q Extension is not able to read open in-progress but unsaved documents in VSCode

Open
#7,633 2 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

Starting with Amazon Q 1.63.0 I have been unable to get it to read any open in-progress document in VSCode

## Steps to reproduce the issue

1. Upgrade the Q extension to any version greater than 1.62.0
2. Create a new document
3. Enter some content
4. In a Q chat within VSCode, ask it to read/explain/process what is in the open editor

## Expected behavior
Expected behavior is to read the editor and do what I ask it. This worked prior to the Q 1.63.0 update.

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

- OS: ZorinOS 17.3 (but also tested on Linux Mint, and Mac OS)
- Visual Studio Code version: 1.101.2
- AWS Toolkit version: not installed
- Amazon Q version: 1.63.0 and every version since then

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in VSCode using an unsaved open document, comparing Amazon Q 1.62.0 with 1.63.0 or later. Trace the extension path that supplies the active editor content to chat and verify that the requested document is read and processed again; no specific file or test is named in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.