Skip to content

Syntax highlighting for .nextflow.log files #50

Open
@ewels

Description

@ewels

It'd be super nice to have syntax highlighting for .nextflow.log* files in VSCode. Like I started https://seqera.io/blog/nextflow-colored-logs/#but-wait-there's-more!

nextflow_logs_best_both_worlds.mp4

This work stalled, but you can see how far I got in Textualize/toolong#47 and nf-core/tools#2895

Having this in VSCode would not be mutually exclusive with also having a CLI tool to view (streaming) logs in the terminal. I think it shouldn't be too difficult to do with regular expression / TextMate grammar.

Note that the above tooling does additional things we won't be able to do, like reshaping the logs (moving parts of the log messages around on each line). I don't think that'll be possible with VSCode, likely only colouring the text. But it'd still make it a lot easier to read.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions