aws / aws/aws-toolkit-vscode

How can I upload or attach files into the Amazon Q chat dialogue for VS Code?

Open
#5,608 0 comments 4 reactions 0 assignees View on GitHub
amazon-q codewhisperer guidance partner-team
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## System details (run `AWS: About` and/or `Amazon Q: About`)
OS: Windows_NT x64 10.0.22631
Visual Studio Code extension host: 1.93.1
Amazon Q: 1.25.0
node: 20.15.1
electron: 30.4.0

## Question
How do I upload or attach files into the Amazon Q chat dialogue?
Q tells me that "If you need me to provide an analysis of the complete project structure, dependencies, or any other files, you would need to share that information by uploading, attaching, or pasting the relevant file contents or directory listings directly into our conversation.", however I can find no way to do so.
The chat input appears to allow dropping of files into it, but nothing appears to happen when I attempt to do so.
I've attempted to use the "@workspace" directive as described at https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/workspace-context.html, but it also does not seem to work.

Contributor guide

Open the contributing guide

Research direction

Read the linked Amazon Q workspace-context documentation and reproduce the reported drag-and-drop and @workspace behavior in the VS Code extension using the stated versions. Done means documenting whether file attachment is supported and providing verified steps or clarifying the limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.