snakemake / snakemake-lang-vscode-plugin

Language support and snippets for Snakemake workflows (Snakefile, *.smk) for Visual Studio Code and Apache Theia.
MIT License
13 stars 13 forks source link

Highlight syntax in shell blocks as bash #7

Open ivan-aksamentov opened 2 years ago

ivan-aksamentov commented 2 years ago

Currently shell blocks are treated as strings. Would be nice if they could have syntax highlighting for shell scripts instead. Bash is probably the most common.

rule:
    shell:
       """
       what="world"
       echo "Hello ${what}"
       """

rule:
    run: shell("echo Hello world")