snakemake/snakemake-lang-vscode-plugin

String highlighting as comment

yeyun1999 opened this issue · 1 comments

Strings are highlighted as comments, especially when used as commands

rule hostname:
    output: 
        "out/{id}.txt"
    threads:
        1
    resources:
        tmpdir=".tmp"
    conda:
        'base'
    shell:
        '''
        sleep 2;echo `hostname` > {output}
        echo fdf >> {resources.tmpdir}/fdf
        
        '''

The strings in the shell, output, and conda parts are all recognized as comments and highlighted in green

skwde commented

Here is a screenshot of the problem:

Screenshot 2023-07-18 at 08 40 43