JetBrains-Research / snakecharm

Plugin for PyCharm / IntelliJ IDEA Platform IDEs which adds support for Snakemake language.
MIT License
61 stars 7 forks source link

Section names cannot be resolved for rules after inheritance using use #520

Open Xewar313 opened 5 months ago

Xewar313 commented 5 months ago
rule test1:
    output: "somefile.txt"

use rule test1 as test2 with:
    input: "x.txt"

def test():
    print(rules.test2.input)
    print(rules.test2.output)
    return "result.txt" 

image

Second output should resolve to output section in test1 rule, but its reference cannot be found.