Skip to content

Amazon Q VS Code Extension Fails to Open Files on Windows — %5C Encoded Path Issue #8049

@PavithranThavamani

Description

@PavithranThavamani

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWe can reproduce the issue and confirmed it is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions