aws / aws/amazon-q-developer-cli

Add syntax highlighting for code snippets printed by Q Chat

Open
#1,937 0 comments 1 reaction 0 assignees View on GitHub
🎨 UI
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue

### Operating system

Linux 5.10.236-208.928.amzn2int.x86_64 - Amazon Linux 2

### Expected behaviour

Code snippets have syntax highlighting. This would greatly improve the developer experience, by making the code easier to understand/review.

### Actual behaviour

Q Chat prints green-on-black code snippets. This monochrome output is difficult to parse visually, in particular when we are used to editors/IDEs with built-in syntax highlighting.

### Steps to reproduce

Just ask Q Chat for some code snippet:
![Image](https://github.com/user-attachments/assets/bcc29294-a44f-4e07-907e-0b57020697e8)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.