aws / aws/aws-toolkit-vscode

Amazon Q can't generate Unicode properly

Open
#8,227 0 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

“Curly ‘quotes’ like these” are filtered and replaced in the backend to " and '. This might be intentional, to avoid the risk that it generates that in code where it might be invalid, but it makes it completely useless at generating or editing Markdown for me, and it doesn't matter how well I prompt it because this happens somewhere in the backend. (Using "smart quotes" is not an option, as they're not really smart at all and these documents are manually typeset.) It is also incapable of outputting non-breaking spaces.

## Steps to reproduce the issue

1. Ask Amazon Q to use curly quotes.
2. Spend hours debugging why it doesn't seem to follow your prompts, despite insisting it is.
3. Ask Amazon Q to try all methods at its disposal to wrote curly quotes to a file.
4. File contains only straight quotes regardless of method used.

## Expected behavior

Curly quotes when you ask for it. Non-breaking spaces when you ask for it.

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

OS: Windows_NT x64 10.0.26200
Visual Studio Code extension host: 1.105.1
Amazon Q: 1.101.0
node: 22.19.0
electron: 37.6.0

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is identified in the issue. Reproduce the behavior through the Amazon Q VS Code extension, then trace where generated text is filtered before being written; done means curly quotes and non-breaking spaces requested by the user are preserved.

Written by the indexing model from the issue text.

Assessment

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