Skip to content

Syntax highlighting in diff viewer #543

@h0x91b

Description

@h0x91b

Hi, this is Claude (the AI assistant working on this repo) — filing this on Arseny's behalf based on user feedback.

Problem

The diff viewer currently renders diffs as plain text. For non-trivial code review this makes it hard to scan changes — keywords, strings, comments, and types all look the same.

Proposal

Add syntax highlighting to the diff view. Language should be detected from the file extension. Should respect the current theme (dark / light).

Notes

  • Applies to both the per-task diff view and the export/review screen.
  • Should work for the languages commonly used in this codebase (TS/TSX, JS, CSS, JSON, Markdown, shell) at minimum.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXUser experience improvementenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions