Skip to content

Feature Request: console or terminal syntax highlighter #330

@spkane

Description

@spkane

I have come across syntax highlighters in the past that have a concept of a console highlighter, which is different from things like bash and powershell and is designed to be a bit more aware of the prompt, and the fact that the block, is likely one of more commands at a prompt followed by output that is very likely pseudo-plain text, versus any parse-able programming language.

It would be nice to have something like this.

Ideally, it would detect common prompts at the start of the line like $, #, C:\, and PS \> (or whatever the Windows ones are), parse the command in a reasonable fashion highlighting various standard arg types and their values, and then treating the output as more standard text output. It would be great if there were some way to tell it what the output was (or if it could try to make a reasonable guess), but that might be wishful thinking on my part. :-)


Also, this is a really great plugin. I am very excited to have found it in my searches and was more than happy to buy the theme pack and advanced features!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions