Amazon Q VS Code Extension Fails to Open Files on Windows — %5C Encoded Path Issue
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
After updating to the latest version of the Amazon Q VS Code extension, the "Review Changes" action fails to open files in the editor on Windows.
## Steps to reproduce the issue
Install the latest Amazon Q extension on Windows.
Open a project (with typical Windows paths, e.g. C:\Users\Username\Project).
Trigger Review Changes.
VS Code shows error and file cannot be opened.
## Expected behavior
The extension should decode %5C backslashes or use forward slashes (/) so that file paths resolve correctly on Windows.
## System details (run `AWS: About` and/or `Amazon Q: About`)
- OS:
- Visual Studio Code version:
- AWS Toolkit version:
- Amazon Q version:
Contributor guide
Research direction
Start by reproducing the Review Changes action on Windows using the paths described in the issue, then trace where the Amazon Q VS Code extension handles the encoded path. Confirm the behavior with the supplied VS Code and Amazon Q system details, and consider the work done when Review Changes opens the intended files without %5C path errors.
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
- 45/100