Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax highlighting for .nextflow.log files #50

Open
ewels opened this issue Nov 8, 2024 · 0 comments
Open

Syntax highlighting for .nextflow.log files #50

ewels opened this issue Nov 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ewels
Copy link
Member

ewels commented Nov 8, 2024

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.

@ewels ewels added the enhancement New feature or request label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant