Skip to content

String highlighting as comment #26

Open
@yeyun1999

Description

@yeyun1999

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

Activity

skwde

skwde commented on Jul 18, 2023

@skwde

Here is a screenshot of the problem:

Screenshot 2023-07-18 at 08 40 43

Hocnonsense

Hocnonsense commented on Apr 3, 2025

@Hocnonsense
Contributor

Hello, Is this problem still exists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      String highlighting as comment · Issue #26 · snakemake/snakemake-lang-vscode-plugin