Skip to content

Syntax highlighting in code frames and diffs #10835

Open
@MichaReiser

Description

We should consider highlighting code frames and diffs.

I think a good first step would be to implement semantic highlighting into ruff server that, given a string, emits a description of the highlighting. The codeframe and diff rendering can then reuse the same infrastructure to implement.

This is related to astral-sh/ruff-lsp#237

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the command-line interfacediagnosticsRelated to reporting of diagnostics.wishNot on the current roadmap; maybe in the future

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions