qwen-code/packages/cli/src/ui
Taylor Mullen a9dc2772dd feat(cli): Improve new file diff rendering with syntax highlighting
- Enhance the  component to provide better readability for newly created files.
- Instead of displaying a standard line-by-line diff for new files, extract the added content and render it with syntax highlighting based on the file extension.
- Refactor the existing diff rendering logic into a separate  function.
- Add a helper function  to map common file extensions to language names for syntax highlighting.

Fixes: https://b.corp.google.com/issues/414279447
Signed-off-by: Gemini, your friendly neighborhood code agent.
2025-04-27 23:25:08 -07:00
..
components feat(cli): Improve new file diff rendering with syntax highlighting 2025-04-27 23:25:08 -07:00
hooks feat: Fix flickering in iTerm + scrolling + performance issues. 2025-04-26 16:08:05 -07:00
themes Switch Ansi theme to use regular colors to improve readability. (#154) 2025-04-24 14:19:35 -07:00
utils Follow up fixes from flickering PR. 2025-04-26 19:32:56 -07:00
App.tsx Allow tool groups + following content to be updateable. 2025-04-27 13:27:06 -07:00
colors.ts Add an ansi theme. (#152) 2025-04-24 11:56:23 -07:00
constants.ts Add apache2 SPDX headers to all source files (#48) 2025-04-18 17:44:24 -07:00
types.ts feat: Fix flickering in iTerm + scrolling + performance issues. 2025-04-26 16:08:05 -07:00