JetBrains-Research / snakecharm

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

Inconsistency in Override / Overriden gutters behaviour: #476

Open iromeo opened 2 years ago

iromeo commented 2 years ago

For use rule rule_476_M from module_476 and use rule rule_476_M from module_476 with we show only gutter at rule_476_M, so the behaviour is inconsistent. I think we should show both gutters, and ignore that the rule isn't additionally renamed:

Inconsistent behaviour: image

image

image

Ok behaviour:

image

Code

# module_476.smk
rule rule_476_M:
    input: ""

# rule_476.smk:
module module_476:
    snakefile: "module_476.smk"

use rule rule_476_M  from module_476

# use rule rule_476_M from module_476 with:
#     input: ""

# use rule rule_476_M from module_476 as new_rule_476_M with: